diff options
Diffstat (limited to 'gallery_dl/postprocessor/exec.py')
| -rw-r--r-- | gallery_dl/postprocessor/exec.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gallery_dl/postprocessor/exec.py b/gallery_dl/postprocessor/exec.py index 0bfe1a2..ef11bff 100644 --- a/gallery_dl/postprocessor/exec.py +++ b/gallery_dl/postprocessor/exec.py @@ -50,7 +50,8 @@ class ExecPP(PostProcessor): events = events.split(",") job.register_hooks({event: execute for event in events}, options) - self._init_archive(job, options) + if self._archive_init(job, options): + self._archive_register(job) def _prepare_cmd(self, cmd): if isinstance(cmd, str): |
