mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-18 09:57:40 +03:00
removed assert False
This commit is contained in:
parent
26be93f92e
commit
4a7cddc48b
@ -565,8 +565,11 @@ def should_send(entries: List[Mapping[str, Any]]) -> bool:
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
else:
|
else:
|
||||||
assert(False)
|
logger.error(
|
||||||
this.navbeaconscan = 0 # TODO: Unreachable code?
|
'Invalid state NavBeaconScan exists, but passed entries either '
|
||||||
|
"doesn't exist or doesn't have the expected content"
|
||||||
|
)
|
||||||
|
this.navbeaconscan = 0
|
||||||
|
|
||||||
for entry in entries:
|
for entry in entries:
|
||||||
if (entry['event'] == 'Cargo' and not this.newgame_docked) or entry['event'] == 'Docked':
|
if (entry['event'] == 'Cargo' and not this.newgame_docked) or entry['event'] == 'Docked':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user