mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-21 11:27:38 +03:00
EDMC: Revert accidental change of boolean logic
not (A or B) != not A or B Although "not A and not B" would be equivalent.
This commit is contained in:
parent
5d8b56d45a
commit
72119d6818
2
EDMC.py
2
EDMC.py
@ -300,7 +300,7 @@ sys.path: {sys.path}'''
|
||||
sys.exit(EXIT_LAGGING)
|
||||
|
||||
# Ignore possibly missing shipyard info
|
||||
elif not data['lastStarport'].get('commodities') or data['lastStarport'].get('modules'):
|
||||
elif not (data['lastStarport'].get('commodities') or data['lastStarport'].get('modules')):
|
||||
logger.error("No commodities or outfitting (modules) in CAPI data")
|
||||
return
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user