1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-28 06:04: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,6 +215,7 @@ def get_one_media(stream, options):
return return
if len(videos) == 0: if len(videos) == 0:
if len(error) > 0:
log.error(error[0].args[0]) log.error(error[0].args[0])
else: else:
if options.list_quality: if options.list_quality: