mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-24 04:05:39 +01:00
Merge pull request #273 from leakim/master
fix crach on empty error array cause by no streams
This commit is contained in:
commit
f549a567e4
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user