mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2026-10-29 01:26:08 +03:00
[Minor] Update Type Hints and Alias Usages
This commit is contained in:
31 files changed
+85
-71
No files matched your search
+1
-1
@@ -296,7 +296,7 @@ def export(data, filename) -> None:
|
||||
header = 'System,Station,Category,Name,Mount,Guidance,Ship,Class,Rating,FDevID,Date\n'
|
||||
rowheader = f'{data["lastSystem"]["name"]},{data["lastStarport"]["name"]}'
|
||||
|
||||
with open(filename, 'wt') as h:
|
||||
with open(filename, 'w') as h:
|
||||
h.write(header)
|
||||
for v in data["lastStarport"].get("modules", {}).values():
|
||||
try:
|
||||
|
||||
Reference in new issue
Block a user