1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-14 08:17:13 +03:00

[2278] Fix Incomplete OrderedDict

This commit is contained in:
David Sangrey 2024-07-29 18:58:30 -04:00
parent 759fc12dcb
commit 6a3691d755
No known key found for this signature in database
GPG Key ID: 3AEADBB0186884BC

View File

@ -958,13 +958,13 @@ class EDDN:
self.send_message(cmdr, { self.send_message(cmdr, {
'$schemaRef': f'https://eddn.edcd.io/schemas/outfitting/2{"/test" if is_beta else ""}', '$schemaRef': f'https://eddn.edcd.io/schemas/outfitting/2{"/test" if is_beta else ""}',
'message': { 'message': {
('timestamp', entry['timestamp']), 'timestamp': entry['timestamp'],
('systemName', entry['StarSystem']), 'systemName': entry['StarSystem'],
('stationName', entry['StationName']), 'stationName': entry['StationName'],
('marketId', entry['MarketID']), 'marketId': entry['MarketID'],
('horizons', horizons), 'horizons': horizons,
('modules', outfitting), 'modules': outfitting,
('odyssey', entry['odyssey']) 'odyssey': entry['odyssey']
}, },
}) })
@ -992,13 +992,13 @@ class EDDN:
self.send_message(cmdr, { self.send_message(cmdr, {
'$schemaRef': f'https://eddn.edcd.io/schemas/shipyard/2{"/test" if is_beta else ""}', '$schemaRef': f'https://eddn.edcd.io/schemas/shipyard/2{"/test" if is_beta else ""}',
'message': { 'message': {
('timestamp', entry['timestamp']), 'timestamp': entry['timestamp'],
('systemName', entry['StarSystem']), 'systemName': entry['StarSystem'],
('stationName', entry['StationName']), 'stationName': entry['StationName'],
('marketId', entry['MarketID']), 'marketId': entry['MarketID'],
('horizons', horizons), 'horizons': horizons,
('ships', shipyard), 'ships': shipyard,
('odyssey', entry['odyssey']) 'odyssey': entry['odyssey']
}, },
}) })