From 2cfb12cc710c14ce82b0d91740113e1634119a6c Mon Sep 17 00:00:00 2001 From: Fam Zheng Date: Sun, 2 Mar 2025 10:15:50 +0000 Subject: [PATCH] api: Fix qrtool_path --- api/products/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/products/views.py b/api/products/views.py index 7ddb2dd..c692bcc 100644 --- a/api/products/views.py +++ b/api/products/views.py @@ -669,7 +669,7 @@ class QrVerifyView(BaseView): api_name = "/qr_roi_cloud_comparison" url = ds + api_name feature_roi_len = len(feature_roi) - qrtool_path = os.path.abspath("../../alg/qrtool") + qrtool_path = os.path.abspath("../alg/qrtool") if not qrtool_path: raise Exception("Cannot find qrtool") cwd = os.path.dirname(qrtool_path)