summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/hoster/UploadingCom.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/UploadingCom.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/UploadingCom.py')
-rw-r--r--pyload/plugin/hoster/UploadingCom.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/pyload/plugin/hoster/UploadingCom.py b/pyload/plugin/hoster/UploadingCom.py
index e6c4cb7de..6bf3988cb 100644
--- a/pyload/plugin/hoster/UploadingCom.py
+++ b/pyload/plugin/hoster/UploadingCom.py
@@ -39,12 +39,12 @@ class UploadingCom(SimpleHoster):
self.getFileInfo()
if self.premium:
- self.handlePremium(pyfile)
+ self.handle_premium(pyfile)
else:
- self.handleFree(pyfile)
+ self.handle_free(pyfile)
- def handlePremium(self, pyfile):
+ def handle_premium(self, pyfile):
postData = {'action': 'get_link',
'code' : self.info['pattern']['ID'],
'pass' : 'undefined'}
@@ -57,7 +57,7 @@ class UploadingCom(SimpleHoster):
raise Exception("Plugin defect")
- def handleFree(self, pyfile):
+ def handle_free(self, pyfile):
m = re.search('<h2>((Daily )?Download Limit)</h2>', self.html)
if m:
pyfile.error = m.group(1)