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

removed suits["slots"] (for now)

This commit is contained in:
A_D 2021-07-01 12:47:07 +02:00
parent 67df2efc8a
commit d63b6ad782
No known key found for this signature in database
GPG Key ID: 4BE9EB7DF45076C4

View File

@ -1109,7 +1109,6 @@ class EDLogs(FileSystemEventHandler): # type: ignore # See below
'id': None, # Is this an FDev ID for suit type ?
'suitId': entry['SuitID'],
'mods': entry['SuitMods'], # Suits can (rarely) be bought with modules installed
'slots': [],
}
# update credits
@ -1682,7 +1681,6 @@ class EDLogs(FileSystemEventHandler): # type: ignore # See below
# Now add in the extra fields for new_suit to be a 'full' Suit structure
suit['id'] = suit.get('id') # Not available in 4.0.0.100 journal event
suit['slots'] = new_loadout['slots'] # 'slots', not 'Modules', to match CAPI
# Ensure the suit is in self.state['Suits']
self.state['Suits'][f"{suitid}"] = suit