Refine unlock project
This commit is contained in:
3
main.py
3
main.py
@@ -145,9 +145,10 @@ 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
|
||||||
|
|
||||||
@app.get('/getcurrentoperationid/')
|
@app.get('/getcurrentoperationid/')
|
||||||
|
|||||||
Reference in New Issue
Block a user