1
0
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:
David Sangrey 2024-01-04 14:12:47 -05:00 committed by GitHub
parent 7cac00b2e8
commit 4df38d6a73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'])