diff --git a/companion.py b/companion.py index 3ed92e7b..9176fc2e 100644 --- a/companion.py +++ b/companion.py @@ -534,7 +534,7 @@ class Session(object): """Perform CAPI /profile endpoint query for station data.""" data = self.query(URL_QUERY) if not data['commander'].get('docked'): - return None + return data services = data['lastStarport'].get('services', {})