1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-27 21:54:17 +01:00

Merge pull request #273 from leakim/master

fix crach on empty error array cause by no streams
This commit is contained in:
Johan Andersson 2015-10-25 16:12:08 +01:00
commit f549a567e4

View File

@ -215,7 +215,8 @@ def get_one_media(stream, options):
return
if len(videos) == 0:
log.error(error[0].args[0])
if len(error) > 0:
log.error(error[0].args[0])
else:
if options.list_quality:
list_quality(videos)