add documentation

This commit is contained in:
Sven Czarnian
2021-12-03 11:51:04 +01:00
parent 848d89a918
commit 9b9746e9bb

View File

@@ -23,6 +23,7 @@ class RunwaySequencingEncoder(JSONEncoder):
def default(self, o): def default(self, o):
return { 'runway' : o.Runway.Name, 'spacing' : o.Spacing } return { 'runway' : o.Runway.Name, 'spacing' : o.Spacing }
# initialize the environment variables
if 'AMAN_PATH' not in os.environ: if 'AMAN_PATH' not in os.environ:
os.environ['AMAN_PATH'] = 'C:\\Repositories\VATSIM\\AMAN\\aman-sys\\aman' os.environ['AMAN_PATH'] = 'C:\\Repositories\VATSIM\\AMAN\\aman-sys\\aman'
if 'AMAN_CONFIG_PATH' not in os.environ: if 'AMAN_CONFIG_PATH' not in os.environ: