From 52c0e8d624ad9a831722071361b71caf84e7017d Mon Sep 17 00:00:00 2001 From: DingZQ Date: Sun, 19 Feb 2023 17:56:13 +0800 Subject: [PATCH] Fixed error of LockPorject --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index d21cd96..90e6029 100644 --- a/main.py +++ b/main.py @@ -112,7 +112,7 @@ async def fastapi_is_locked_by_me(network: str, req: Request): async def fastapi_lock_project(network: str, req: Request): client_host = f'{req.client.host}:{req.client.port}' - if fastapi_is_locked(str, req) == False: + if fastapi_is_locked(network, req) == False: lockedPrjs[network] = client_host return client_host