Instead of using the list of archive tasks for further importing, only the fist task was used - which is not iterable, of course.

This commit is contained in:
Malte Ried 2015-01-18 19:16:51 +01:00
parent c91f7f7795
commit 0afe0a60a1

View file

@ -1117,7 +1117,7 @@ def read_tasks(session):
log.debug(u'extracting archive {0}',
displayable_path(toppath))
archive_tasks = task_factory.archive(toppath)[0]
archive_tasks = task_factory.archive(toppath)
for archive_task in archive_tasks:
try:
archive_task.extract()