From bc41cf1efba45263d2b526e0ad1652ad58d8e9f6 Mon Sep 17 00:00:00 2001 From: Johan Andersson Date: Thu, 8 Nov 2012 21:16:50 +0100 Subject: [PATCH] Better variable name insted of kalle. --- svtplay-dl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/svtplay-dl b/svtplay-dl index 858ece5..05fd1fa 100755 --- a/svtplay-dl +++ b/svtplay-dl @@ -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-"):