1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-18 18:07:37 +03:00

Aligned values of large dicts

helps your eyes track the changes
This commit is contained in:
A_D 2020-07-19 19:08:36 +02:00 committed by Athanasius
parent ed45d59af1
commit b010b8015d

View File

@ -868,7 +868,8 @@ class EDLogs(FileSystemEventHandler):
for slot in sorted(
self.state['Modules'],
key=lambda x: (
'Hardpoint' not in x, x not in standard_order and len(standard_order) or standard_order.index(x),
'Hardpoint' not in x,
x not in standard_order and len(standard_order) or standard_order.index(x),
'Slot' not in x, x)
):