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:
parent
759fc12dcb
commit
6a3691d755
@ -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']
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user