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/ZippyshareCom.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'module/plugins/hoster/ZippyshareCom.py') diff --git a/module/plugins/hoster/ZippyshareCom.py b/module/plugins/hoster/ZippyshareCom.py index 3740f8c14..d42ce3578 100644 --- a/module/plugins/hoster/ZippyshareCom.py +++ b/module/plugins/hoster/ZippyshareCom.py @@ -41,7 +41,7 @@ class ZippyshareCom(Hoster): return file_url def get_file_name(self): - if self.html == None: + if self.html is None: self.download_html() if not self.wantReconnect: file_name = re.search(r'Name: (.*?)', self.html).group(1) @@ -52,9 +52,9 @@ class ZippyshareCom(Hoster): def file_exists(self): """ returns True or False """ - if self.html == None: + if self.html is None: self.download_html() - if re.search(r'File does not exist on this server', self.html) != None: + if re.search(r'File does not exist on this server', self.html) is not None: return False else: return True -- cgit v1.2.3