From 59b738fbf08d1041716f88cc0d075a3d7190d10b Mon Sep 17 00:00:00 2001 From: Athanasius Date: Fri, 13 Sep 2019 19:45:20 +0100 Subject: [PATCH] eddn cmdr_data not actually checking 'send to EDDN' option. (#445) --- plugins/eddn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/eddn.py b/plugins/eddn.py index c866945d..9a3403c0 100644 --- a/plugins/eddn.py +++ b/plugins/eddn.py @@ -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