|
@@ -90,7 +90,7 @@ class GenerateTextFromVideo(object):
|
|
|
sql = f"""
|
|
|
select id, status_update_timestamp
|
|
|
from video_content_understanding
|
|
|
- where status in ({const.VIDEO_UNDERSTAND_PROCESSING_STATUS, const.VIDEO_LOCK});
|
|
|
+ where status in ({const.VIDEO_UNDERSTAND_PROCESSING_STATUS}, {const.VIDEO_LOCK});
|
|
|
"""
|
|
|
task_list = self.db.fetch(sql, cursor_type=DictCursor)
|
|
|
now_timestamp = int(time.time())
|