mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2026-11-16 02:42:40 +03:00
Fixed invalid deep_get call
This commit is contained in:
1 parent
b6482878f0
commit
3dfca91e1d
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user