1
mirror of https://github.com/yt-dlp/yt-dlp synced 2024-11-25 00:07:17 +01:00

ExecAfterDownloadPP: fix __init__ method

This commit is contained in:
Jaime Marquínez Ferrándiz 2015-05-10 17:47:49 +02:00
parent 95c5534f8e
commit 69b46b3d95

View 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):