diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-08-27 17:07:33 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-08-27 17:07:33 +0200 |
commit | a33d8062833d1bfec4777145cc484c1d6b9e141f (patch) | |
tree | 7d815f80cdcced2d36144b9b71760278d29ed007 /module/plugins/hoster/ZippyshareCom.py | |
parent | locale fixes (diff) | |
download | pyload-a33d8062833d1bfec4777145cc484c1d6b9e141f.tar.xz |
some automatic fixes
Diffstat (limited to 'module/plugins/hoster/ZippyshareCom.py')
-rw-r--r-- | module/plugins/hoster/ZippyshareCom.py | 6 |
1 files changed, 3 insertions, 3 deletions
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: </font> <font.*>(.*?)</font>', 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 |