Browse Source

Merge pull request #92 from makrsmark/opens-pwd-fix

don't uppercase password
pull/102/head
Jack Sweeney 2 years ago committed by GitHub
parent
commit
d04065dbba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      defOpenSky.py

4
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').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():

Loading…
Cancel
Save