1
0
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:
Johan Andersson 2013-01-13 07:56:13 -08:00
commit fc1c58acc8

View File

@ -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)