From: pulpe Date: Fri, 6 Jun 2014 07:00:28 +0000 (+0200) Subject: [TagesschauIE] Fix possible error if quality is not defined X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=a45e6aadd7c8aa42d769b9c0ee0c7d29258efcf1;p=youtube-dl [TagesschauIE] Fix possible error if quality is not defined --- diff --git a/youtube_dl/extractor/tagesschau.py b/youtube_dl/extractor/tagesschau.py index fec1ff67e..e2ad7c393 100644 --- a/youtube_dl/extractor/tagesschau.py +++ b/youtube_dl/extractor/tagesschau.py @@ -59,6 +59,8 @@ class TagesschauIE(InfoExtractor): elif res == 'l': res = 'large' quality = 2 + else: + quality = 0 formats.append({ 'format_id': res+'_'+ext,