From f1cb0e36f72c1fbc890263e0de1741e971421290 Mon Sep 17 00:00:00 2001 From: Leonardo Robol Date: Mon, 9 Nov 2009 13:06:39 +0100 Subject: [PATCH] Corretto bug in urlToMms() --- RaiTV/ChannelLoader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RaiTV/ChannelLoader.py b/RaiTV/ChannelLoader.py index d1ed7f8..79e8e47 100644 --- a/RaiTV/ChannelLoader.py +++ b/RaiTV/ChannelLoader.py @@ -118,7 +118,7 @@ class ChannelList(): r = urllib2.urlopen(req) reference = re.findall(r"http://(\S*)", r.read(1024)) - if reference is not []: + if len(reference) is not 0: ## Se è così ci serve mms over http, o almeno penso che questo ## intenda. Sembra che per altro ogni link funzioni così. Meglio! :) mms = "mmsh://" + reference[0] -- 2.1.4