From: Jaime Marquínez Ferrándiz Date: Sun, 10 May 2015 15:47:49 +0000 (+0200) Subject: ExecAfterDownloadPP: fix __init__ method X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=69b46b3d956220e4b3a3d5eda55768753a67f19d;p=youtube-dl ExecAfterDownloadPP: fix __init__ method --- 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):