From 5fde0798809546698cf2b2eb4aa95d0c6aa68815 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Wed, 6 May 2015 00:54:30 +0200 Subject: handleFree -> handle_free and so on... --- pyload/plugin/hoster/FilefactoryCom.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pyload/plugin/hoster/FilefactoryCom.py') diff --git a/pyload/plugin/hoster/FilefactoryCom.py b/pyload/plugin/hoster/FilefactoryCom.py index 782b6ba48..5c42961ce 100644 --- a/pyload/plugin/hoster/FilefactoryCom.py +++ b/pyload/plugin/hoster/FilefactoryCom.py @@ -42,7 +42,7 @@ class FilefactoryCom(SimpleHoster): COOKIES = [("filefactory.com", "locale", "en_US.utf8")] - def handleFree(self, pyfile): + def handle_free(self, pyfile): if "Currently only Premium Members can download files larger than" in self.html: self.fail(_("File too large for free download")) elif "All free download slots on this server are currently in use" in self.html: @@ -73,7 +73,7 @@ class FilefactoryCom(SimpleHoster): return super(FilefactoryCom, self).checkFile(rules) - def handlePremium(self, pyfile): + def handle_premium(self, pyfile): self.link = self.directLink(self.load(pyfile.url, just_header=True)) if not self.link: -- cgit v1.2.3