mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-06-01 16:11:18 +03:00
eddn cmdr_data not actually checking 'send to EDDN' option. (#445)
This commit is contained in:
parent
86cd6c0f2c
commit
59b738fbf0
@ -470,7 +470,7 @@ def journal_entry(cmdr, is_beta, system, station, entry, state):
|
|||||||
return unicode(e)
|
return unicode(e)
|
||||||
|
|
||||||
def cmdr_data(data, is_beta):
|
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:
|
try:
|
||||||
if this.marketId != data['lastStarport']['id']:
|
if this.marketId != data['lastStarport']['id']:
|
||||||
this.commodities = this.outfitting = this.shipyard = None
|
this.commodities = this.outfitting = this.shipyard = None
|
||||||
|
Loading…
x
Reference in New Issue
Block a user