From c4991d09efdd8aad7d78b87d87ce7b6cea5614e0 Mon Sep 17 00:00:00 2001 From: Jonathan Harris Date: Tue, 13 Oct 2015 17:00:12 +0100 Subject: [PATCH] Log spurious outfitting in debug. Fixes up f6e6af6. --- EDMarketConnector.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/EDMarketConnector.py b/EDMarketConnector.py index f7ef27e1..b5f83c3c 100755 --- a/EDMarketConnector.py +++ b/EDMarketConnector.py @@ -85,7 +85,7 @@ class HyperlinkLabel(ttk.Label): class AppWindow: - STATION_UNDOCKED = '×' # "Station" name to display when not docked = U+00D7 + STATION_UNDOCKED = u'×' # "Station" name to display when not docked = U+00D7 def __init__(self, master): @@ -346,6 +346,8 @@ class AppWindow: if has_outfitting: # Only send if eddb says that the station provides outfitting eddn.export_outfitting(data) + elif __debug__ and data['lastStarport'].get('modules'): + print 'Spurious outfitting!' if has_shipyard: # Only send if eddb says that the station has a shipyard - # https://github.com/Marginal/EDMarketConnector/issues/16