commit: 753fad4adc32b57a0d18518fddd06d2411d09635
parent 34814eb66e948b5d73420e435f3aea7112b243d5
Author: Philipp Hagemeister <phihag@phihag.de>
Date: Tue, 10 Feb 2015 01:34:01 +0100
[commonmistakes] Correct logic error
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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)