summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/hoster/OneFichierCom.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/OneFichierCom.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/OneFichierCom.py')
-rw-r--r--pyload/plugin/hoster/OneFichierCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/plugin/hoster/OneFichierCom.py b/pyload/plugin/hoster/OneFichierCom.py
index 1fc89db10..1c5c87a99 100644
--- a/pyload/plugin/hoster/OneFichierCom.py
+++ b/pyload/plugin/hoster/OneFichierCom.py
@@ -38,7 +38,7 @@ class OneFichierCom(SimpleHoster):
self.resumeDownload = True
- def handleFree(self, pyfile):
+ def handle_free(self, pyfile):
id = self.info['pattern']['ID1'] or self.info['pattern']['ID2']
url, inputs = self.parseHtmlForm('action="https://1fichier.com/\?%s' % id)
@@ -53,5 +53,5 @@ class OneFichierCom(SimpleHoster):
self.download(url, post=inputs)
- def handlePremium(self, pyfile):
+ def handle_premium(self, pyfile):
self.download(pyfile.url, post={'dl': "Download", 'did': 0})