mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-06-19 08:14:05 +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
|
# Only trust CAPI if these aren't yet set
|
||||||
this.system = this.system if this.system else data['lastSystem']['name']
|
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']
|
this.station = data['lastStarport']['name']
|
||||||
|
|
||||||
# Override standard URL functions
|
# Override standard URL functions
|
||||||
|
Loading…
x
Reference in New Issue
Block a user