fix: [Flask] fix flask host

pull/49/head
Terrtia 2020-11-10 16:12:09 +01:00
parent 04fab82f5e
commit ac301b5360
No known key found for this signature in database
GPG Key ID: 1E1B1F50D84613D0
1 changed files with 3 additions and 2 deletions

View File

@ -66,8 +66,9 @@ if server_mode not in all_server_modes:
print('Error: incorrect server_mode')
try:
FLASK_HOST = config_loader.get_config_int("Flask_Server", "host")
FLASK_HOST = config_loader.get_config_str("Flask_Server", "host")
except Exception as e:
print(e)
FLASK_HOST = '127.0.0.1'
try: