From 239c7872f51ff7d455a48793363f55e373f5e6f7 Mon Sep 17 00:00:00 2001 From: Jonathan Harris <github@marginal.org.uk> Date: Fri, 9 Mar 2018 14:19:35 +0000 Subject: [PATCH] Strip "Wanted" field from EDDN messages --- EDMarketConnector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EDMarketConnector.py b/EDMarketConnector.py index 024f87f1..8057399d 100755 --- a/EDMarketConnector.py +++ b/EDMarketConnector.py @@ -659,7 +659,7 @@ class AppWindow: entry['event'] == 'Docked' or entry['event'] == 'Scan' and monitor.system and monitor.coordinates)): # strip out properties disallowed by the schema - for thing in ['CockpitBreach', 'BoostUsed', 'FuelLevel', 'FuelUsed', 'JumpDist', 'Latitude', 'Longitude']: + for thing in ['CockpitBreach', 'BoostUsed', 'FuelLevel', 'FuelUsed', 'JumpDist', 'Latitude', 'Longitude', 'Wanted']: entry.pop(thing, None) for thing in entry.keys(): if thing.endswith('_Localised'):