From d63b6ad782ba022bb1c1d5c5995d19a7813a13a3 Mon Sep 17 00:00:00 2001 From: A_D Date: Thu, 1 Jul 2021 12:47:07 +0200 Subject: [PATCH] removed suits["slots"] (for now) --- monitor.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/monitor.py b/monitor.py index b01e6bf1..6392f2c0 100644 --- a/monitor.py +++ b/monitor.py @@ -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