Refine unlock project
This commit is contained in:
5
main.py
5
main.py
@@ -145,8 +145,9 @@ def fastapi_unlock_project(network: str, req: Request):
|
|||||||
if lockedPrjs[network] == client_host:
|
if lockedPrjs[network] == client_host:
|
||||||
print("delete key")
|
print("delete key")
|
||||||
del lockedPrjs[network]
|
del lockedPrjs[network]
|
||||||
|
return True
|
||||||
return True
|
|
||||||
|
return False
|
||||||
|
|
||||||
### operations
|
### operations
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user