]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[postprocessor/common] Use 'self._downloader.params' instead of 'self.params'
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Sat, 5 Sep 2015 10:11:36 +0000 (12:11 +0200)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Sat, 5 Sep 2015 10:11:36 +0000 (12:11 +0200)
'self.params' is not defined

youtube_dl/postprocessor/common.py

index 150ef917347e43c972d541bcb3f394b8db6d8ac4..599dd1df2b2fa16b05548ef847d41b3d6d7c9560 100644 (file)
@@ -62,7 +62,7 @@ class PostProcessor(object):
             self._downloader.report_warning(errnote)
 
     def _configuration_args(self, default=[]):
-        return cli_configuration_args(self.params, 'postprocessor_args', default)
+        return cli_configuration_args(self._downloader.params, 'postprocessor_args', default)
 
 
 class AudioConversionError(PostProcessingError):