Update main.py

This commit is contained in:
ranlo 2021-09-28 12:52:54 +03:00 committed by GitHub
parent c745f3ce34
commit 8da2a72df5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,7 +51,6 @@ if __name__ == '__main__':
port = int(read_config(("frontend", "http_port"))) port = int(read_config(("frontend", "http_port")))
except: except:
port = 80 port = 80
print(port)
if read_config(("frontend", "remote_access")): if read_config(("frontend", "remote_access")):
app.run(host="0.0.0.0", port=port) app.run(host="0.0.0.0", port=port)
else: else: