fix default port

This commit is contained in:
Noli 2022-03-25 23:26:27 +01:00
parent 3e003d3b42
commit aa8de64aa4
1 changed files with 1 additions and 1 deletions

View File

@ -5186,7 +5186,7 @@ def send_debug():
#==================================================================#
print("", end="", flush=True)
if __name__ == "__main__":
port = args.port if "port" in args else 5000
port = args.port if "port" in args and args.port is not None else 5000
print("{0}\nStarting webserver...{1}".format(colors.GREEN, colors.END), flush=True)
# Start Flask/SocketIO (Blocking, so this must be last method!)