aboutsummaryrefslogtreecommitdiffstats
path: root/gallery_dl/postprocessor/exec.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2023-10-03 18:32:03 -0400
committerLibravatarUnit 193 <unit193@unit193.net>2023-10-03 18:32:03 -0400
commit6b534bfa74884dccf734d306b250c05557f9311d (patch)
tree0172eebcb36b3ca64030ce90ae5865f01172daf3 /gallery_dl/postprocessor/exec.py
parent25c6de611041ec1efba8e3120aaf9167e0d63fbb (diff)
parentb8758ecd073910ce3220b2e68399147b425c37b8 (diff)
Update upstream source from tag 'upstream/1.26.0'
Update to upstream version '1.26.0' with Debian dir bf0b268cbba44da63b86fe28caaaef53198f3ea3
Diffstat (limited to 'gallery_dl/postprocessor/exec.py')
-rw-r--r--gallery_dl/postprocessor/exec.py12
1 files changed, 3 insertions, 9 deletions
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))