summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/MyfastfileCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-07 01:23:55 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-07 01:23:55 +0200
commitb1759bc440cd6013837697eb8de540914f693ffd (patch)
treed170caf63d7f65e44d23ea2d91a65759a1665928 /module/plugins/hoster/MyfastfileCom.py
parent[Plugin] Fix decoding in load method (diff)
downloadpyload-b1759bc440cd6013837697eb8de540914f693ffd.tar.xz
No camelCase style anymore
Diffstat (limited to 'module/plugins/hoster/MyfastfileCom.py')
-rw-r--r--module/plugins/hoster/MyfastfileCom.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/hoster/MyfastfileCom.py b/module/plugins/hoster/MyfastfileCom.py
index 1211a532f..f68bfab18 100644
--- a/module/plugins/hoster/MyfastfileCom.py
+++ b/module/plugins/hoster/MyfastfileCom.py
@@ -9,7 +9,7 @@ from module.plugins.internal.MultiHoster import MultiHoster, create_getInfo
class MyfastfileCom(MultiHoster):
__name__ = "MyfastfileCom"
__type__ = "hoster"
- __version__ = "0.09"
+ __version__ = "0.10"
__pattern__ = r'http://\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}/dl/'
__config__ = [("use_premium" , "bool", "Use premium account if available" , True),
@@ -21,14 +21,14 @@ class MyfastfileCom(MultiHoster):
def setup(self):
- self.chunkLimit = -1
+ self.chunk_limit = -1
- def handlePremium(self, pyfile):
+ def handle_premium(self, pyfile):
self.html = self.load('http://myfastfile.com/api.php',
get={'user': self.user, 'pass': self.account.getAccountData(self.user)['password'],
'link': pyfile.url})
- self.logDebug("JSON data: " + self.html)
+ self.log_debug("JSON data: " + self.html)
self.html = json_loads(self.html)
if self.html['status'] != 'ok':