Browse Source

ExecAfterDownloadPP: fix __init__ method

totalwebcasting
Jaime Marquínez Ferrándiz 10 years ago
parent
commit
69b46b3d95
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      youtube_dl/postprocessor/execafterdownload.py

+ 2
- 1
youtube_dl/postprocessor/execafterdownload.py 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):


Loading…
Cancel
Save