[TagesschauIE] Fix possible error if quality is not defined

pull/3050/head
pulpe 2014-06-06 09:00:28 +02:00
parent 6a15923b77
commit a45e6aadd7
1 changed files with 2 additions and 0 deletions

View File

@ -59,6 +59,8 @@ class TagesschauIE(InfoExtractor):
elif res == 'l':
res = 'large'
quality = 2
else:
quality = 0
formats.append({
'format_id': res+'_'+ext,