diff --git a/youtube_dlc/postprocessor/common.py b/youtube_dlc/postprocessor/common.py index 7fb85413f..b641099e6 100644 --- a/youtube_dlc/postprocessor/common.py +++ b/youtube_dlc/postprocessor/common.py @@ -56,7 +56,7 @@ def report_error(self, text, *args, **kwargs): def write_debug(self, text, prefix=True, *args, **kwargs): tag = '[debug] ' if prefix else '' - if self.get_param('verbose', False): + if self.get_param('verbose', False) and self._downloader: return self._downloader.to_screen('%s%s' % (tag, text), *args, **kwargs) def get_param(self, name, default=None, *args, **kwargs):