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:
parent
eba318430a
commit
f8d4731472
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user