mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-12 23:37:14 +03:00
[635] Remove Outdated Comment
All Dicts Keep Order. Co-authored-by: Phoebe <40956085+C1701D@users.noreply.github.com>
This commit is contained in:
parent
7cac00b2e8
commit
4df38d6a73
@ -1073,7 +1073,7 @@ class EDLogs(FileSystemEventHandler):
|
||||
# From 3.3 full Cargo event (after the first one) is written to a separate file
|
||||
if 'Inventory' not in entry:
|
||||
with open(join(self.currentdir, 'Cargo.json'), 'rb') as h: # type: ignore
|
||||
entry = json.load(h) # Preserve property order because why not?
|
||||
entry = json.load(h)
|
||||
self.state['CargoJSON'] = entry
|
||||
|
||||
clean = self.coalesce_cargo(entry['Inventory'])
|
||||
|
Loading…
x
Reference in New Issue
Block a user