From 133fa18920c50d075f4366e9462b53600186be32 Mon Sep 17 00:00:00 2001 From: Mark Bumiller Date: Thu, 15 Dec 2022 15:06:08 -0500 Subject: [PATCH] format fixes --- defOpenSky.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/defOpenSky.py b/defOpenSky.py index 61503a4..551e164 100644 --- a/defOpenSky.py +++ b/defOpenSky.py @@ -4,7 +4,9 @@ def pull_opensky(planes): main_config.read('./configs/mainconf.ini') from opensky_api import OpenSkyApi planeData = None - opens_api = OpenSkyApi(username= None if main_config.get('OPENSKY', 'USERNAME').upper() == "NONE" else main_config.get('OPENSKY', 'USERNAME'), password= None if main_config.get('OPENSKY', 'PASSWORD').upper() == "NONE" else main_config.get('OPENSKY', 'PASSWORD')) + opens_api = OpenSkyApi( + username= None if main_config.get('OPENSKY', 'USERNAME').upper() == "NONE" else main_config.get('OPENSKY', 'USERNAME'), + password= None if main_config.get('OPENSKY', 'PASSWORD').upper() == "NONE" else main_config.get('OPENSKY', 'PASSWORD')) failed = False icao_array = [] for key in planes.keys():