mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-16 09:10:35 +03:00
Inara: Fix the all() generator for ShipLocker check
This commit is contained in:
parent
e754568b28
commit
107c44a2a9
@ -1101,7 +1101,7 @@ def journal_entry( # noqa: C901, CCR001
|
||||
elif event_name == 'ShipLocker':
|
||||
# In ED 4.0.0.400 the event is only full sometimes, other times indicating
|
||||
# ShipLocker.json was written.
|
||||
if not all(entry.get(t, False) for t in ('Components', 'Consumables', 'Data', 'Items')):
|
||||
if not all(t in entry for t in ('Components', 'Consumables', 'Data', 'Items')):
|
||||
# So it's an empty event, core EDMC should have stuffed the data
|
||||
# into state['ShipLockerJSON'].
|
||||
entry = state['ShipLockerJSON']
|
||||
|
Loading…
x
Reference in New Issue
Block a user