Do not warn if fallback is without alternatives (because we did not get the flash...
authorPhilipp Hagemeister <phihag@phihag.de>
Sun, 22 Sep 2013 10:18:10 +0000 (12:18 +0200)
committerPhilipp Hagemeister <phihag@phihag.de>
Sun, 22 Sep 2013 10:18:10 +0000 (12:18 +0200)
youtube_dl/extractor/youtube.py

index 888907c93fe0936da65a82495007c8e08698a5d7..780690ed02c990a1fbaa87bf9e97bd66bddd3245 100644 (file)
@@ -1063,8 +1063,8 @@ class YoutubeIE(YoutubeBaseInfoExtractor, SubtitlesInfoExtractor):
                 self._downloader.report_warning(
                     u'Automatic signature extraction failed: ' + tb)
 
-        self._downloader.report_warning(
-            u'Warning: Falling back to static signature algorithm')
+            self._downloader.report_warning(
+                u'Warning: Falling back to static signature algorithm')
         return self._static_decrypt_signature(
             s, video_id, player_url, age_gate)