From 72119d6818823286a69c33090a99da51f77e5e2e Mon Sep 17 00:00:00 2001 From: Athanasius Date: Wed, 7 Oct 2020 09:58:51 +0100 Subject: [PATCH] EDMC: Revert accidental change of boolean logic not (A or B) != not A or B Although "not A and not B" would be equivalent. --- EDMC.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EDMC.py b/EDMC.py index db888f90..fac74186 100755 --- a/EDMC.py +++ b/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