lierqiang 2 years ago
parent
commit
268ff40863
1 changed files with 2 additions and 0 deletions
  1. 2 0
      server/conf_task.py

+ 2 - 0
server/conf_task.py

@@ -415,6 +415,8 @@ def updateTask():
 
 def create_uid(task, task_id):
     spider_link = task.get('spider_link')
+    if not isinstance(spider_link, list):
+        spider_link = eval(spider_link)
     source = task.get('source')
     task_type = task.get('task_type')
     applets_status = task.get('applets_status')