From: Jaime Marquínez Ferrándiz Date: Sat, 5 Sep 2015 10:11:36 +0000 (+0200) Subject: [postprocessor/common] Use 'self._downloader.params' instead of 'self.params' X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=3026164b1693ef57d0712cd6eeed6ae7a79b0916;p=youtube-dl [postprocessor/common] Use 'self._downloader.params' instead of 'self.params' 'self.params' is not defined --- diff --git a/youtube_dl/postprocessor/common.py b/youtube_dl/postprocessor/common.py index 150ef9173..599dd1df2 100644 --- a/youtube_dl/postprocessor/common.py +++ b/youtube_dl/postprocessor/common.py @@ -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):