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

get_one_media: Don’t try downloading files when we can’t find any.

This commit is contained in:
Johan Andersson 2014-10-12 23:53:42 +02:00
parent b59f413a22
commit dc46471108

View File

@ -135,7 +135,7 @@ def get_one_media(stream, options):
if len(videos) == 0:
log.error("Can't find any streams for that url")
else:
stream = select_quality(options, videos)
log.info("Selected to download %s, bitrate: %s",
stream.name(), stream.bitrate)