Formatting

-Remark
-Docustrings
This commit is contained in:
Jack Sweeney 2020-11-21 18:26:27 +00:00 committed by GitHub
parent 42a86e1f4e
commit 045e6ac0d6
3 changed files with 9 additions and 9 deletions

View File

@ -1,5 +1,6 @@
class Plane:
def __init__(self, icao, conf_file):
'''Initializes a plane object from its config file and given icao'''
self.icao = icao.upper()
self.conf_file = conf_file
self.geo_alt_ft = None
@ -14,7 +15,6 @@ class Plane:
self.latitude = None
self.callsign = None
self.takeoff_time = None
self.map_file_name = icao.upper() + "_map.png"
self.last_latitude = None
self.last_longitude = None
@ -25,7 +25,7 @@ class Plane:
def getICAO(self):
return self.icao
def run(self, ac_dict, source):
'''Runs a check of a plane module to see if its landed or takenoff using plane data, and takes action if so'''
#Import Modules
#Clear Terminal
#print("\033[H\033[J")