diff --git a/mayan/apps/sources/tasks.py b/mayan/apps/sources/tasks.py index 89e27930e2..6c5273bae8 100644 --- a/mayan/apps/sources/tasks.py +++ b/mayan/apps/sources/tasks.py @@ -140,7 +140,7 @@ def task_source_handle_upload(self, document_type_id, shared_uploaded_file_id, s if expand: try: compressed_file = Archive.open(file_object=file_object) - for compressed_file_child in compressed_file.children(): + for compressed_file_child in compressed_file.get_members(): # TODO: find way to uniquely identify child files # Use filename in the mean time. if force_text(compressed_file_child) not in skip_list: