瀏覽代碼

change the gafor id to an integer

Sven Czarnian 3 年之前
父節點
當前提交
cbbaf0c021
共有 1 個文件被更改,包括 1 次插入1 次删除
  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)