1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-21 11:27:38 +03:00

Remove erroneous on-foot check for 'Where are you?!'

This causes the check to not work as intended on live and is a left-over
from before fixing the code to just use 'err'.
This commit is contained in:
Athanasius 2021-04-04 11:02:53 +01:00
parent 5c99ef1243
commit 88a3f6d73a

@ -780,7 +780,7 @@ class AppWindow(object):
err = self.status['text'] = _("Who are you?!") # Shouldn't happen
elif (not data.get('lastSystem', {}).get('name')
or (data['commander'].get('docked') or monitor.state['OnFoot']
or (data['commander'].get('docked')
and not data.get('lastStarport', {}).get('name'))):
err = self.status['text'] = _("Where are you?!") # Shouldn't happen