mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-17 01:22:19 +03:00
always update with journal data
This commit is contained in:
parent
4e7366bee0
commit
7c78b40090
@ -1667,11 +1667,14 @@ class EDLogs(FileSystemEventHandler): # type: ignore # See below
|
||||
suit = {
|
||||
'edmcName': edmc_suitname,
|
||||
'locName': suitname,
|
||||
'suitId': entry['SuitID'],
|
||||
'name': entry['SuitName'],
|
||||
'mods': entry['SuitMods']
|
||||
}
|
||||
|
||||
# Overwrite with latest data, just in case, as this can be from CAPI which may or may not have had
|
||||
# all the data we wanted
|
||||
suit['suitId'] = entry['SuitID']
|
||||
suit['name'] = entry['SuitName']
|
||||
suit['mods'] = entry['SuitMods']
|
||||
|
||||
suitloadout_slotid = self.suit_loadout_id_from_loadoutid(entry['LoadoutID'])
|
||||
# Make the new loadout, in the CAPI format
|
||||
new_loadout = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user