Don't send "ActiveFine" with EDDN Docked messages

This commit is contained in:
Jonathan Harris committed 2018-11-04 13:10:25 +00:00
1 parent 03c1ad5acb
commit e93265c87a
1 file changed
+1 -1
+1 -1
View File
@@ -666,7 +666,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', 'Wanted']:
for thing in ['ActiveFine', 'CockpitBreach', 'BoostUsed', 'FuelLevel', 'FuelUsed', 'JumpDist', 'Latitude', 'Longitude', 'Wanted']:
entry.pop(thing, None)
for faction in entry.get('Factions', []):
faction.pop('MyReputation', None)