1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-17 17:42:20 +03:00

fix more flake8 errors

This commit is contained in:
Chris Henning 2022-06-12 16:19:25 -04:00
parent 1b37991016
commit 4dfcd91bcd

View File

@ -1379,9 +1379,9 @@ class EDDN:
}
}
# Readd Horizons and Odyssey to the outer message not each signal
for gamever in [ "horizons", "odyssey" ]:
if gamever in entry and gamever not in msg:
msg[gamever] = entry[gamever]
for gamever in ["horizons", "odyssey"]:
if gamever in entry and gamever not in msg:
msg[gamever] = entry[gamever]
# Another SystemAddress check, however: some events won't have it. Is it an issue?
if this.systemaddress is None or ('SystemAddress' in entry and this.systemaddress != entry['SystemAddress']):