mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-05-29 22:59:45 +03:00
Don't send "ActiveFine" with EDDN Docked messages
This commit is contained in:
parent
03c1ad5acb
commit
e93265c87a
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user