浏览代码

Merge branch '2024-01-02-rematch-task-bug-fix' of Server/title_with_video into 2024-09-23newDbTasks

luojunhui 3 月之前
父节点
当前提交
7e384c3b7a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tasks/rm_match_task.py

+ 1 - 1
tasks/rm_match_task.py

@@ -117,7 +117,7 @@ class ReMatchTask(object):
         response = await self.db_client.async_select(select_sql)
         status_list = list(i[0] for i in response)
         for status in status_list:
-            if status in [rematch_task_const.REMATCH_PROCESSING_STATUS, rematch_task_const.REMATCH_SUCCESS_STATUS]:
+            if status == rematch_task_const.REMATCH_PROCESSING_STATUS:
                 return True
         return False