aboutsummaryrefslogtreecommitdiffstats
path: root/gallery_dl/postprocessor
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2023-05-28 01:35:33 -0400
committerLibravatarUnit 193 <unit193@unit193.net>2023-05-28 01:35:33 -0400
commit645863b3144f85f1830afe23c8d412f2703d5b81 (patch)
tree4be5d8a509ba8fac7a9c565d2d0764287b73973b /gallery_dl/postprocessor
parent1d742a229479aa2c3cb6db253c90434414a6fea3 (diff)
parent8950c0f2ef55ec2ed36b3fccc9fd85b64b877c3b (diff)
Update upstream source from tag 'upstream/1.25.5'
Update to upstream version '1.25.5' with Debian dir fb939ee149571d6a29a37441553f417ce143d419
Diffstat (limited to 'gallery_dl/postprocessor')
-rw-r--r--gallery_dl/postprocessor/exec.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/gallery_dl/postprocessor/exec.py b/gallery_dl/postprocessor/exec.py
index e81c6cf..39188f1 100644
--- a/gallery_dl/postprocessor/exec.py
+++ b/gallery_dl/postprocessor/exec.py
@@ -11,6 +11,7 @@
from .common import PostProcessor
from .. import util, formatter
import subprocess
+import os
if util.WINDOWS:
@@ -60,6 +61,7 @@ class ExecPP(PostProcessor):
kwdict["_path"] = pathfmt.realpath
args = [arg.format_map(kwdict) for arg in self.args]
+ args[0] = os.path.expanduser(args[0])
self._exec(args, False)
if archive: