Merge branch 'refs/heads/develop'
This commit is contained in:
@@ -302,7 +302,7 @@ class GenerateProductImage:
|
||||
time_out = 600
|
||||
while time_out > 0:
|
||||
gen_product_data, _ = self.read_tasks_status()
|
||||
if gen_product_data['status'] in ["REVOKED", "FAILURE"]:
|
||||
if gen_product_data['status'] in ["REVOKED", "FAILURE", "NO_FACE"]:
|
||||
ctx.cancel()
|
||||
break
|
||||
elif gen_product_data['status'] == "SUCCESS":
|
||||
|
||||
@@ -121,7 +121,7 @@ class GenerateRelightImage:
|
||||
time_out = 600
|
||||
while time_out > 0:
|
||||
gen_product_data, _ = self.read_tasks_status()
|
||||
if gen_product_data['status'] in ["REVOKED", "FAILURE"]:
|
||||
if gen_product_data['status'] in ["REVOKED", "FAILURE", "NO_FACE"]:
|
||||
ctx.cancel()
|
||||
break
|
||||
elif gen_product_data['status'] == "SUCCESS":
|
||||
|
||||
Reference in New Issue
Block a user