1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-17 01:22:19 +03:00

Log spurious outfitting in debug.

Fixes up f6e6af6.
This commit is contained in:
Jonathan Harris 2015-10-13 17:00:12 +01:00
parent 6c9d997f24
commit c4991d09ef

View File

@ -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