summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/DepositfilesCom.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-08-27 17:07:33 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-08-27 17:07:33 +0200
commita33d8062833d1bfec4777145cc484c1d6b9e141f (patch)
tree7d815f80cdcced2d36144b9b71760278d29ed007 /module/plugins/hoster/DepositfilesCom.py
parentlocale fixes (diff)
downloadpyload-a33d8062833d1bfec4777145cc484c1d6b9e141f.tar.xz
some automatic fixes
Diffstat (limited to 'module/plugins/hoster/DepositfilesCom.py')
-rw-r--r--module/plugins/hoster/DepositfilesCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/DepositfilesCom.py b/module/plugins/hoster/DepositfilesCom.py
index c91341887..28d0819d7 100644
--- a/module/plugins/hoster/DepositfilesCom.py
+++ b/module/plugins/hoster/DepositfilesCom.py
@@ -32,12 +32,12 @@ class DepositfilesCom(Hoster):
self.download(link)
def handleFree(self):
- if re.search(r'File is checked, please try again in a minute.', self.html) != None:
+ if re.search(r'File is checked, please try again in a minute.', self.html) is not None:
self.log.info("DepositFiles.com: The file is being checked. Waiting 1 minute.")
self.setWait(61)
self.wait()
- if re.search(r'Such file does not exist or it has been removed for infringement of copyrights', self.html) != None:
+ if re.search(r'Such file does not exist or it has been removed for infringement of copyrights', self.html) is not None:
self.offline()
self.html = self.load(self.pyfile.url, post={"gateway_result":"1"})