don't uppercase password

fixes Jxck-S/plane-notify#87
This commit is contained in:
Mark Bumiller 2022-12-15 15:02:28 -05:00
parent 64efa26199
commit 4da00ced5f
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ def pull_opensky(planes):
main_config.read('./configs/mainconf.ini') main_config.read('./configs/mainconf.ini')
from opensky_api import OpenSkyApi from opensky_api import OpenSkyApi
planeData = None 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 failed = False
icao_array = [] icao_array = []
for key in planes.keys(): for key in planes.keys():