mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-24 04:05:39 +01:00
Better variable name insted of kalle.
This commit is contained in:
parent
2b3d7119bd
commit
bc41cf1efb
@ -205,8 +205,8 @@ def parsem3u(data):
|
||||
continue
|
||||
if l.startswith("#EXT-X-STREAM-INF:"):
|
||||
#not a proper parser
|
||||
kalle = [x.strip().split("=",1) for x in l[18:].split(",")]
|
||||
streaminfo.update({kalle[1][0]: kalle[1][1]})
|
||||
info = [x.strip().split("=",1) for x in l[18:].split(",")]
|
||||
streaminfo.update({info[1][0]: info[1][1]})
|
||||
elif l.startswith("#EXT-X-ENDLIST"):
|
||||
break
|
||||
elif l.startswith("#EXT-X-"):
|
||||
|
Loading…
Reference in New Issue
Block a user