lister_base: create_tasks returns a list of tasks
This commit is contained in:
parent
c677ad6067
commit
b6bdab70c6
1 changed files with 1 additions and 1 deletions
|
@ -449,7 +449,7 @@ class SWHListerBase(abc.ABC, config.SWHConfig):
|
|||
if not ir.task_id:
|
||||
ir.task_id = self.scheduler.create_tasks(
|
||||
[self.task_dict(m['origin_type'], m['origin_url'])]
|
||||
)['id']
|
||||
)[0]['id']
|
||||
|
||||
def ingest_data(self, identifier):
|
||||
"""The core data fetch sequence. Request server endpoint. Simplify and
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue