Merge organizer download summaries

This commit is contained in:
I-Al-Istannen 2020-11-04 15:06:58 +01:00
parent 0da2fafcd8
commit ef343dec7c

View File

@ -343,6 +343,11 @@ class Pferd(Location):
downloader = IpdDownloader(tmp_dir=tmp_dir, organizer=organizer, strategy=download_strategy)
downloader.download_all(transformed)
if clean:
organizer.cleanup()
self._download_summary.merge(organizer.download_summary)
return organizer
@swallow_and_print_errors
@ -403,4 +408,6 @@ class Pferd(Location):
if clean:
organizer.cleanup()
self._download_summary.merge(organizer.download_summary)
return organizer