ExecAfterDownloadPP: fix __init__ method
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Sun, 10 May 2015 15:47:49 +0000 (17:47 +0200)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Sun, 10 May 2015 15:47:49 +0000 (17:47 +0200)
youtube_dl/postprocessor/execafterdownload.py

index 765fd8fe4cc23aebff51604da76f4b7d49c8379f..13794b7ba8653b179a08a348744441ae5c296852 100644 (file)
@@ -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):