ICAO upper, tested finding airport name
This commit is contained in:
parent
45eae0aaf5
commit
05dee4bfe6
|
|
@ -1,4 +1,4 @@
|
||||||
#Github Updated - NotifyBot 8
|
#Github Updated - NotifyBot 9
|
||||||
#Import Modules
|
#Import Modules
|
||||||
#Setup Geopy
|
#Setup Geopy
|
||||||
from geopy.geocoders import Nominatim
|
from geopy.geocoders import Nominatim
|
||||||
|
|
@ -21,6 +21,7 @@ from defTweet import tweepysetup
|
||||||
tweet_api = tweepysetup()
|
tweet_api = tweepysetup()
|
||||||
#Set Plane ICAO
|
#Set Plane ICAO
|
||||||
TRACK_PLANE = '<planeicaohere>'
|
TRACK_PLANE = '<planeicaohere>'
|
||||||
|
icao = TRACK_PLANE.upper()
|
||||||
#Pre Set Variables
|
#Pre Set Variables
|
||||||
geo_altitude = None
|
geo_altitude = None
|
||||||
geo_alt_ft = None
|
geo_alt_ft = None
|
||||||
|
|
@ -35,7 +36,6 @@ longitude = None
|
||||||
latitude = None
|
latitude = None
|
||||||
geo_alt_m = None
|
geo_alt_m = None
|
||||||
running_Count = 0
|
running_Count = 0
|
||||||
icao = None
|
|
||||||
callsign = None
|
callsign = None
|
||||||
takeoff_time = None
|
takeoff_time = None
|
||||||
#Begin Looping program
|
#Begin Looping program
|
||||||
|
|
@ -191,7 +191,6 @@ while True:
|
||||||
landed_time = None
|
landed_time = None
|
||||||
time_since_tk = None
|
time_since_tk = None
|
||||||
|
|
||||||
|
|
||||||
#Set Variables to compare to next check
|
#Set Variables to compare to next check
|
||||||
last_feeding = feeding
|
last_feeding = feeding
|
||||||
last_geo_alt_ft = geo_alt_ft
|
last_geo_alt_ft = geo_alt_ft
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue