From: Philipp Hagemeister Date: Tue, 10 Feb 2015 00:34:01 +0000 (+0100) Subject: [commonmistakes] Correct logic error X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=753fad4adc32b57a0d18518fddd06d2411d09635;p=youtube-dl [commonmistakes] Correct logic error --- diff --git a/youtube_dl/extractor/commonmistakes.py b/youtube_dl/extractor/commonmistakes.py index 75c06903f..dbbf27a74 100644 --- a/youtube_dl/extractor/commonmistakes.py +++ b/youtube_dl/extractor/commonmistakes.py @@ -24,6 +24,6 @@ class CommonMistakesIE(InfoExtractor): 'That doesn\'t make any sense. ' 'Simply remove the parameter in your command or configuration.' ) % url - if self._downloader.params.get('verbose'): + if not self._downloader.params.get('verbose'): msg += ' Add -v to the command line to see what arguments and configuration youtube-dl got.' raise ExtractorError(msg, expected=True)