1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-22 20:00:29 +03:00

fixed incorrect indexing

This commit is contained in:
A_D 2020-07-30 14:32:43 +02:00
parent eba318430a
commit f8d4731472
No known key found for this signature in database
GPG Key ID: 4BE9EB7DF45076C4

View File

@ -979,7 +979,7 @@ def cmdr_data(data, is_beta):
# Only trust CAPI if these aren't yet set
this.system = this.system if this.system else data['lastSystem']['name']
if not this.station and data['commander'['docked']]:
if not this.station and data['commander']['docked']:
this.station = data['lastStarport']['name']
# Override standard URL functions