dongzhaorui %!s(int64=3) %!d(string=hai) anos
pai
achega
9cb5589a04
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      find_source/crawler/schedule.py

+ 1 - 1
find_source/crawler/schedule.py

@@ -9,7 +9,7 @@ class Scheduler:
         self.mrq = (queue or RedisQueue())
 
     def _add_tasks(self, classify: str, tasks, level=1, group='', **kwargs):
-        allow_output_log = kwargs.get('allow_output_log', True)
+        allow_output_log = kwargs.pop('allow_output_log', True)
         if isinstance(tasks, list):
             _tasks = tasks
         else: