summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/hoster/DepositfilesCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-05-06 00:54:30 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-05-06 00:54:30 +0200
commit5fde0798809546698cf2b2eb4aa95d0c6aa68815 (patch)
treed63c152f37e2a03453f8c0d25b40209a753c8c47 /pyload/plugin/hoster/DepositfilesCom.py
parentMerge branch 'stable' into 0.4.10 (diff)
downloadpyload-5fde0798809546698cf2b2eb4aa95d0c6aa68815.tar.xz
handleFree -> handle_free and so on...
Diffstat (limited to 'pyload/plugin/hoster/DepositfilesCom.py')
-rw-r--r--pyload/plugin/hoster/DepositfilesCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/plugin/hoster/DepositfilesCom.py b/pyload/plugin/hoster/DepositfilesCom.py
index e16222856..49f9d4384 100644
--- a/pyload/plugin/hoster/DepositfilesCom.py
+++ b/pyload/plugin/hoster/DepositfilesCom.py
@@ -40,7 +40,7 @@ class DepositfilesCom(SimpleHoster):
LINK_MIRROR_PATTERN = r'class="repeat_mirror"><a href="(.+?)"'
- def handleFree(self, pyfile):
+ def handle_free(self, pyfile):
self.html = self.load(pyfile.url, post={'gateway_result': "1"})
self.checkErrors()
@@ -69,7 +69,7 @@ class DepositfilesCom(SimpleHoster):
self.link = urllib.unquote(m.group(1))
- def handlePremium(self, pyfile):
+ def handle_premium(self, pyfile):
if '<span class="html_download_api-gold_traffic_limit">' in self.html:
self.logWarning(_("Download limit reached"))
self.retry(25, 60 * 60, "Download limit reached")