fixed incorrect indexing

This commit is contained in:
A_D committed 2020-07-31 15:47:27 +02:00
1 parent eba318430a
commit f8d4731472
1 file changed
+1 -1
+1 -1
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