From f8d4731472a1122c79590b2d77d34ec232a1fcdb Mon Sep 17 00:00:00 2001 From: A_D Date: Thu, 30 Jul 2020 14:32:43 +0200 Subject: [PATCH] fixed incorrect indexing --- plugins/inara.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/inara.py b/plugins/inara.py index dc6b8fe4..a8f5eda4 100644 --- a/plugins/inara.py +++ b/plugins/inara.py @@ -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