diff options
| author | 2025-09-23 07:44:44 -0400 | |
|---|---|---|
| committer | 2025-09-23 07:44:44 -0400 | |
| commit | 291c04af647559317fc9f9f392ad43841ec509ad (patch) | |
| tree | 13a72906223927180001b362d086c82401cb7843 /gallery_dl/postprocessor/common.py | |
| parent | 065386e00c7a6c8bbe4bb23a545a7fc7b2c09a4a (diff) | |
| parent | 42b62671fabfdcf983a9575221420d85f7fbcac1 (diff) | |
Update upstream source from tag 'upstream/1.30.8'
Update to upstream version '1.30.8'
with Debian dir 51367313d3355f7d0d16a754c5c63135fb3c72e2
Diffstat (limited to 'gallery_dl/postprocessor/common.py')
| -rw-r--r-- | gallery_dl/postprocessor/common.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gallery_dl/postprocessor/common.py b/gallery_dl/postprocessor/common.py index 8da8417..9992c56 100644 --- a/gallery_dl/postprocessor/common.py +++ b/gallery_dl/postprocessor/common.py @@ -54,7 +54,11 @@ class PostProcessor(): else: self.log.debug( "Using %s archive '%s'", self.name, archive_path) + job.register_hooks({"finalize": self._close_archive}) return True self.archive = None return False + + def _close_archive(self, _): + self.archive.close() |
