1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-15 00:30:33 +03:00

eddn cmdr_data not actually checking 'send to EDDN' option. (#445)

This commit is contained in:
Athanasius 2019-09-13 19:45:20 +01:00 committed by Jonathan Harris
parent 86cd6c0f2c
commit 59b738fbf0

View File

@ -470,7 +470,7 @@ def journal_entry(cmdr, is_beta, system, station, entry, state):
return unicode(e)
def cmdr_data(data, is_beta):
if data['commander'].get('docked') & config.OUT_MKT_EDDN:
if data['commander'].get('docked') and config.getint('output') & config.OUT_MKT_EDDN:
try:
if this.marketId != data['lastStarport']['id']:
this.commodities = this.outfitting = this.shipyard = None