[commonmistakes] Correct logic error
authorPhilipp Hagemeister <phihag@phihag.de>
Tue, 10 Feb 2015 00:34:01 +0000 (01:34 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Tue, 10 Feb 2015 00:34:01 +0000 (01:34 +0100)
youtube_dl/extractor/commonmistakes.py

index 75c06903fc6073be5e214bb8eb79469bfafbeb1b..dbbf27a7486ab78a239df5a21a761b911a1e4a6e 100644 (file)
@@ -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)