Explorar el Código

change the gafor id to an integer

Sven Czarnian hace 3 años
padre
commit
cbbaf0c021
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      aman/config/Airport.py

+ 1 - 1
aman/config/Airport.py

@@ -219,7 +219,7 @@ class Airport:
         if None == dataConfig.get('gaforid'):
             sys.stderr.write('No GAFOR-ID found!')
             sys.exit(-1)
-        self.GaforId = dataConfig['gaforid']
+        self.GaforId = int(dataConfig['gaforid'])
 
         # get the default sequencing data
         self.parseDefaultSequencingConfiguration(icao, planningConfig)