mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-27 21:54:17 +01:00
Merge pull request #18 from antoneliasson/master
In method get in class Svtplay: index dict streams by number instead of key for Python 3 compatibility.
This commit is contained in:
commit
fc1c58acc8
@ -820,7 +820,7 @@ class Svtplay():
|
||||
log.error("Can't find any streams.")
|
||||
sys.exit(2)
|
||||
elif len(streams) == 1:
|
||||
test = streams[streams.keys()[0]]
|
||||
test = streams[0]
|
||||
else:
|
||||
test = select_quality(options, streams)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user