Browse Source

[postprocessor/common] Use 'self._downloader.params' instead of 'self.params'

'self.params' is not defined
Jaime Marquínez Ferrándiz 10 years ago
parent
commit
3026164b16
1 changed files with 1 additions and 1 deletions
  1. 1 1
      youtube_dl/postprocessor/common.py

+ 1 - 1
youtube_dl/postprocessor/common.py

@@ -62,7 +62,7 @@ class PostProcessor(object):
             self._downloader.report_warning(errnote)
             self._downloader.report_warning(errnote)
 
 
     def _configuration_args(self, default=[]):
     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):
 class AudioConversionError(PostProcessingError):