split up the initializations
Esse commit está contido em:
		| @@ -29,13 +29,14 @@ if 'AMAN_PATH' not in os.environ: | ||||
| if 'AMAN_CONFIG_PATH' not in os.environ: | ||||
|     os.environ['AMAN_CONFIG_PATH'] = 'C:\\Repositories\\VATSIM\\AMAN\\config' | ||||
|  | ||||
| # initialize the AMAN and the interface version | ||||
| aman = AMAN() | ||||
| app = Flask('AMAN') | ||||
| version = '0.0.0' | ||||
|  | ||||
| with open(os.path.join(os.environ['AMAN_PATH'], 'VERSION')) as file: | ||||
|     version = file.readline() | ||||
|  | ||||
| # initialize the web services | ||||
| app = Flask('AMAN') | ||||
| if __name__ == '__main__': | ||||
|     app.run() | ||||
|  | ||||
|   | ||||
		Referência em uma nova issue
	
	Block a user