Unused value access removed
This commit is contained in:
parent
90e143191a
commit
83a71c3a03
|
@ -7,7 +7,7 @@ def pullOpenSky(planes):
|
|||
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())
|
||||
failed = False
|
||||
icao_array = []
|
||||
for key, obj in planes.items():
|
||||
for key in planes.keys():
|
||||
icao_array.append(key.lower())
|
||||
try:
|
||||
planeData = opens_api.get_states(time_secs=0, icao24=icao_array)
|
||||
|
|
Loading…
Reference in New Issue