diff options
Diffstat (limited to 'module/plugins/hoster/DepositfilesCom.py')
-rw-r--r-- | module/plugins/hoster/DepositfilesCom.py | 4 |
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"}) |