mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-19 02:17:38 +03:00
Flake8
This commit is contained in:
parent
249f89f0fe
commit
99daff1295
@ -1008,7 +1008,8 @@ def journal_entry( # noqa: C901, CCR001
|
|||||||
opponent_name_issue = 'opponentName' not in data or data['opponentName'] == ""
|
opponent_name_issue = 'opponentName' not in data or data['opponentName'] == ""
|
||||||
wing_opponent_names_issue = 'wingOpponentNames' not in data or data['wingOpponentNames'] == []
|
wing_opponent_names_issue = 'wingOpponentNames' not in data or data['wingOpponentNames'] == []
|
||||||
if opponent_name_issue and wing_opponent_names_issue:
|
if opponent_name_issue and wing_opponent_names_issue:
|
||||||
logger.warning('Dropping addCommanderCombatDeath message because opponentName and wingOpponentNames came out as ""')
|
logger.warning('Dropping addCommanderCombatDeath message'
|
||||||
|
'because opponentName and wingOpponentNames came out as ""')
|
||||||
|
|
||||||
else:
|
else:
|
||||||
new_add_event('addCommanderCombatDeath', entry['timestamp'], data)
|
new_add_event('addCommanderCombatDeath', entry['timestamp'], data)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user