1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-21 11:27:38 +03:00

Send outfitting and shipyard data even if the station has no market.

Broken in ac33861. Fixes .
This commit is contained in:
Jonathan Harris 2015-10-13 15:49:16 +01:00
parent f6e6af63bd
commit 6c9d997f24

@ -324,7 +324,7 @@ class AppWindow:
if (config.getint('output') & config.OUT_EDDN) and not data['lastStarport'].get('commodities') and not has_outfitting and not has_shipyard:
self.status['text'] = _("Station doesn't have anything!")
elif not data['lastStarport'].get('commodities'):
elif not (config.getint('output') & config.OUT_EDDN) and not data['lastStarport'].get('commodities'):
self.status['text'] = _("Station doesn't have a market!")
else: