Explorar o código

[commonmistakes] Correct logic error

Philipp Hagemeister %!s(int64=10) %!d(string=hai) anos
pai
achega
753fad4adc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      youtube_dl/extractor/commonmistakes.py

+ 1 - 1
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)