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:
commit
f549a567e4
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user