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:
parent
034cb204d3
commit
8602acf598
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user