From b8758ecd073910ce3220b2e68399147b425c37b8 Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Tue, 3 Oct 2023 18:31:58 -0400 Subject: New upstream version 1.26.0. --- gallery_dl/postprocessor/exec.py | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'gallery_dl/postprocessor/exec.py') diff --git a/gallery_dl/postprocessor/exec.py b/gallery_dl/postprocessor/exec.py index 39188f1..afa828c 100644 --- a/gallery_dl/postprocessor/exec.py +++ b/gallery_dl/postprocessor/exec.py @@ -46,10 +46,7 @@ class ExecPP(PostProcessor): self._init_archive(job, options) - def exec_list(self, pathfmt, status=None): - if status: - return - + def exec_list(self, pathfmt): archive = self.archive kwdict = pathfmt.kwdict @@ -67,15 +64,12 @@ class ExecPP(PostProcessor): if archive: archive.add(kwdict) - def exec_string(self, pathfmt, status=None): - if status: - return - + def exec_string(self, pathfmt): archive = self.archive if archive and archive.check(pathfmt.kwdict): return - if status is None and pathfmt.realpath: + if pathfmt.realpath: args = self.args.replace("{}", quote(pathfmt.realpath)) else: args = self.args.replace("{}", quote(pathfmt.realdirectory)) -- cgit v1.2.3