Fixed error of LockPorject
This commit is contained in:
2
main.py
2
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
|
||||
|
||||
Reference in New Issue
Block a user