lierqiang hace 2 años
padre
commit
268ff40863
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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):
 def create_uid(task, task_id):
     spider_link = task.get('spider_link')
     spider_link = task.get('spider_link')
+    if not isinstance(spider_link, list):
+        spider_link = eval(spider_link)
     source = task.get('source')
     source = task.get('source')
     task_type = task.get('task_type')
     task_type = task.get('task_type')
     applets_status = task.get('applets_status')
     applets_status = task.get('applets_status')