From 3f5946c43c3900cd8037b8c97590bd4769b0b395 Mon Sep 17 00:00:00 2001 From: 9cfa <9cfa@172.16.100.2> Date: Mon, 13 Mar 2023 22:48:00 +0100 Subject: [PATCH] fix running --- main.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main.py b/main.py index 1edfc23..f7fd5fd 100755 --- a/main.py +++ b/main.py @@ -56,7 +56,6 @@ def receive(method: str, address: str, callback: Union[str, None] = None): else: callback = 'None' callback_req_n = 0 - ## RPC connection to Demons match method.upper(): @@ -128,5 +127,5 @@ def receive(method: str, address: str, callback: Union[str, None] = None): # Run if __name__ == '__main__': - uvicorn.run('main:app', host='0.0.0.0', reload=True, debug=True) + uvicorn.run('main:app', host='0.0.0.0', reload=True) #workers=4 (doesn't work with reload) \ No newline at end of file