aboutsummaryrefslogtreecommitdiffstats
path: root/gallery_dl/postprocessor/exec.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/postprocessor/exec.py')
-rw-r--r--gallery_dl/postprocessor/exec.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gallery_dl/postprocessor/exec.py b/gallery_dl/postprocessor/exec.py
index 8fed723..cc217c3 100644
--- a/gallery_dl/postprocessor/exec.py
+++ b/gallery_dl/postprocessor/exec.py
@@ -9,7 +9,7 @@
"""Execute processes"""
from .common import PostProcessor
-from .. import util
+from .. import util, formatter
import subprocess
@@ -33,7 +33,7 @@ class ExecPP(PostProcessor):
self.args = args
execute = self.exec_string
else:
- self.args = [util.Formatter(arg) for arg in args]
+ self.args = [formatter.parse(arg) for arg in args]
execute = self.exec_list
events = options.get("event")