mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-05-30 07:09:39 +03:00
Fixed invalid deep_get call
This commit is contained in:
parent
b6482878f0
commit
3dfca91e1d
2
EDMC.py
2
EDMC.py
@ -159,7 +159,7 @@ def main():
|
||||
print('Where are you?!', file=sys.stderr) # Shouldn't happen
|
||||
sys.exit(EXIT_SERVER)
|
||||
|
||||
elif not deep_get(data, 'ship', 'modules') or not deep_get('ship', 'name', default=''):
|
||||
elif not deep_get(data, 'ship', 'modules') or not deep_get(data, 'ship', 'name', default=''):
|
||||
print('What are you flying?!', file=sys.stderr) # Shouldn't happen
|
||||
sys.exit(EXIT_SERVER)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user