mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2026-11-08 02:02:33 +03:00
fixed incorrect indexing
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user