From e8c64dd961f3f1b9b4831a4911e0d27803f2a4c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Sat, 19 Dec 2020 20:37:29 +0100 Subject: [PATCH] [postprocessor:exec] do not auto-add '{}' to command (#1185) This was initially done to mimic youtube-dl's behavior and implementation of --exec, and it seemed reasonable at the time. --- gallery_dl/postprocessor/exec.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/gallery_dl/postprocessor/exec.py b/gallery_dl/postprocessor/exec.py index a7a46d11..5a54a77c 100644 --- a/gallery_dl/postprocessor/exec.py +++ b/gallery_dl/postprocessor/exec.py @@ -30,8 +30,6 @@ class ExecPP(PostProcessor): args = options["command"] if isinstance(args, str): - if "{}" not in args: - args += " {}" self.args = args execute = self.exec_string else: