1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-24 04:05:39 +01:00

Fixed a bug in select_quality.

When select quality was moved out to its own function it stoped
working and show what kind of quality to choose from.
This commit is contained in:
Johan Andersson 2012-05-21 23:45:44 +02:00
parent 034cb204d3
commit 8602acf598

View File

@ -145,7 +145,7 @@ def select_quality(options, streams):
selected = streams[quality]
except KeyError:
logging.error("Can't find that quality. (Try one of: %s)",
",".join(sort))
", ".join(map(str, sort)))
sys.exit(4)
return selected