From 5eb414d5e71cc98906972445ff3d65a1cf846cc6 Mon Sep 17 00:00:00 2001 From: DingZQ Date: Fri, 10 Mar 2023 16:46:25 +0800 Subject: [PATCH] Refine unlock project --- main.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 12b474c..40b44a8 100644 --- a/main.py +++ b/main.py @@ -145,8 +145,9 @@ def fastapi_unlock_project(network: str, req: Request): if lockedPrjs[network] == client_host: print("delete key") del lockedPrjs[network] - - return True + return True + + return False ### operations