From 4da00ced5f7a7684fe45f0403e041d86b1a16021 Mon Sep 17 00:00:00 2001 From: Mark Bumiller Date: Thu, 15 Dec 2022 15:02:28 -0500 Subject: [PATCH] don't uppercase password fixes Jxck-S/plane-notify#87 --- defOpenSky.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/defOpenSky.py b/defOpenSky.py index 7b84e8b..61503a4 100644 --- a/defOpenSky.py +++ b/defOpenSky.py @@ -4,7 +4,7 @@ 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').upper()) + 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():