From a33d8062833d1bfec4777145cc484c1d6b9e141f Mon Sep 17 00:00:00 2001 From: RaNaN Date: Fri, 27 Aug 2010 17:07:33 +0200 Subject: some automatic fixes --- module/plugins/hoster/YoutubeCom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/plugins/hoster/YoutubeCom.py') diff --git a/module/plugins/hoster/YoutubeCom.py b/module/plugins/hoster/YoutubeCom.py index 79c359ad7..6b69c3fd4 100644 --- a/module/plugins/hoster/YoutubeCom.py +++ b/module/plugins/hoster/YoutubeCom.py @@ -17,7 +17,7 @@ class YoutubeCom(Hoster): def process(self, pyfile): html = self.load(pyfile.url) - if re.search(r"(.*eine fehlerhafte Video-ID\.)", html) != None: + if re.search(r"(.*eine fehlerhafte Video-ID\.)", html) is not None: self.offline() videoId = pyfile.url.split("v=")[1].split("&")[0] -- cgit v1.2.3