1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-13 07:47:14 +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:
Athanasius 2022-11-18 12:39:32 +00:00
parent f9d384cc6d
commit cdb61bcced
No known key found for this signature in database
GPG Key ID: 772697E181BB2767

View File

@ -335,8 +335,6 @@ class StatsDialog():
elif (
not capi_data.get('lastSystem')
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
# LANG: Unknown location