aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/postprocessor/execafterdownload.py
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dl/postprocessor/execafterdownload.py')
-rw-r--r--youtube_dl/postprocessor/execafterdownload.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/postprocessor/execafterdownload.py b/youtube_dl/postprocessor/execafterdownload.py
index 765fd8fe4..13794b7ba 100644
--- a/youtube_dl/postprocessor/execafterdownload.py
+++ b/youtube_dl/postprocessor/execafterdownload.py
@@ -8,7 +8,8 @@ from ..utils import PostProcessingError
class ExecAfterDownloadPP(PostProcessor):
- def __init__(self, downloader=None, exec_cmd=None):
+ def __init__(self, downloader, exec_cmd):
+ super(ExecAfterDownloadPP, self).__init__(downloader)
self.exec_cmd = exec_cmd
def run(self, information):