From 05dee4bfe617fa465b5ebd64ff69c06027738e44 Mon Sep 17 00:00:00 2001 From: Jxck-S Date: Fri, 14 Aug 2020 22:45:30 -0400 Subject: [PATCH] ICAO upper, tested finding airport name --- OpenSky Bot.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/OpenSky Bot.py b/OpenSky Bot.py index ea531c4..bb3aa14 100644 --- a/OpenSky Bot.py +++ b/OpenSky Bot.py @@ -1,4 +1,4 @@ -#Github Updated - NotifyBot 8 +#Github Updated - NotifyBot 9 #Import Modules #Setup Geopy from geopy.geocoders import Nominatim @@ -21,6 +21,7 @@ from defTweet import tweepysetup tweet_api = tweepysetup() #Set Plane ICAO TRACK_PLANE = '' +icao = TRACK_PLANE.upper() #Pre Set Variables geo_altitude = None geo_alt_ft = None @@ -35,7 +36,6 @@ longitude = None latitude = None geo_alt_m = None running_Count = 0 -icao = None callsign = None takeoff_time = None #Begin Looping program @@ -191,7 +191,6 @@ while True: landed_time = None time_since_tk = None - #Set Variables to compare to next check last_feeding = feeding last_geo_alt_ft = geo_alt_ft