mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-14 16:27:13 +03:00
stats.py: Checking CAPI lastStarport is un-necessary, as never used.
The `lastSystem` *is* however used, for the 'current ship not currently docked' case.
This commit is contained in:
parent
f9d384cc6d
commit
cdb61bcced
2
stats.py
2
stats.py
@ -335,8 +335,6 @@ class StatsDialog():
|
|||||||
elif (
|
elif (
|
||||||
not capi_data.get('lastSystem')
|
not capi_data.get('lastSystem')
|
||||||
or not capi_data['lastSystem'].get('name', '').strip()
|
or not capi_data['lastSystem'].get('name', '').strip()
|
||||||
or not capi_data.get('lastStarport')
|
|
||||||
or not capi_data['lastStarport'].get('name', '').strip()
|
|
||||||
):
|
):
|
||||||
# Shouldn't happen
|
# Shouldn't happen
|
||||||
# LANG: Unknown location
|
# LANG: Unknown location
|
||||||
|
Loading…
x
Reference in New Issue
Block a user