api: Fix qrtool_path

This commit is contained in:
Fam Zheng 2025-03-02 10:15:50 +00:00
parent 80cc4242e4
commit 2cfb12cc71

View File

@ -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)