api: Fix qrtool_path
This commit is contained in:
parent
80cc4242e4
commit
2cfb12cc71
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user