summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPhilipp Hagemeister <[email protected]>2015-02-10 01:34:01 +0100
committerPhilipp Hagemeister <[email protected]>2015-02-10 01:34:01 +0100
commit753fad4adc32b57a0d18518fddd06d2411d09635 (patch)
treee01d36b2d267ea753e3a7605ca14a41d3e647f20
parent34814eb66e948b5d73420e435f3aea7112b243d5 (diff)
downloadyoutube-dl-753fad4adc32b57a0d18518fddd06d2411d09635.tar.gz
youtube-dl-753fad4adc32b57a0d18518fddd06d2411d09635.zip
[commonmistakes] Correct logic error
-rw-r--r--youtube_dl/extractor/commonmistakes.py2
1 files changed, 1 insertions, 1 deletions
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)