[pp:python] restore archive functionality

fixes regression introduced in 09f0ba8e9c
This commit is contained in:
Mike Fährmann
2025-09-26 21:55:37 +02:00
parent 9c4d20e926
commit eee78f8148
5 changed files with 67 additions and 9 deletions

View File

@@ -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):