mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-17 17:42:20 +03:00
Also wrap as dict(data) in dump_capi_data()
This commit is contained in:
parent
e475ad6659
commit
bc7767c5ce
@ -671,7 +671,7 @@ class AppWindow(object):
|
||||
|
||||
timestamp = strftime('%Y-%m-%dT%H.%M.%S', localtime())
|
||||
with open(f'dump/{system}{station}.{timestamp}.json', 'wb') as h:
|
||||
h.write(json.dumps(data,
|
||||
h.write(json.dumps(dict(data),
|
||||
ensure_ascii=False,
|
||||
indent=2,
|
||||
sort_keys=True,
|
||||
|
Loading…
x
Reference in New Issue
Block a user