summary refs log tree commit diff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2013-09-22 12:18:10 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2013-09-22 12:18:10 +0200
commitd2d8f895310be7fa302ba7755c60d5948866fcaa (patch)
treee92ce3fdbbae3286b1cc371231c009c3ada50df1
parentbdde940e90320e350bd96df621ee7e32641e1eca (diff)
downloadyoutube-dl-d2d8f895310be7fa302ba7755c60d5948866fcaa.tar.gz
youtube-dl-d2d8f895310be7fa302ba7755c60d5948866fcaa.tar.xz
youtube-dl-d2d8f895310be7fa302ba7755c60d5948866fcaa.zip
Do not warn if fallback is without alternatives (because we did not get the flash player URL)
-rw-r--r--youtube_dl/extractor/youtube.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py
index 888907c93..780690ed0 100644
--- a/youtube_dl/extractor/youtube.py
+++ b/youtube_dl/extractor/youtube.py
@@ -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)