From de48af215f1f5fa18b074e2691d27e9ca18fceb4 Mon Sep 17 00:00:00 2001 From: DingZQ Date: Wed, 1 Mar 2023 21:35:31 +0800 Subject: [PATCH] Refine unlock --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 10cc2ea..fb7262c 100644 --- a/main.py +++ b/main.py @@ -137,7 +137,7 @@ async def fastapi_lock_project(network: str, req: Request): return 2 @app.post("/unlockproject/") -async def fastapi_unlock_project(network: str, req: Request): +def fastapi_unlock_project(network: str, req: Request): client_host = req.client.host if lockedPrjs[network] == client_host: print("delete key")