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/EuroshareEu.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pyload/plugin/hoster/EuroshareEu.py') diff --git a/pyload/plugin/hoster/EuroshareEu.py b/pyload/plugin/hoster/EuroshareEu.py index b66369fe0..09fd1bf5b 100644 --- a/pyload/plugin/hoster/EuroshareEu.py +++ b/pyload/plugin/hoster/EuroshareEu.py @@ -29,7 +29,7 @@ class EuroshareEu(SimpleHoster): URL_REPLACEMENTS = [(r"(http://[^/]*\.)(sk|cz|hu|pl)/", r"\1eu/")] - def handlePremium(self, pyfile): + def handle_premium(self, pyfile): if self.ERR_NOT_LOGGED_IN_PATTERN in self.html: self.account.relogin(self.user) self.retry(reason=_("User not logged in")) @@ -47,7 +47,7 @@ class EuroshareEu(SimpleHoster): self.fail(self.lastCheck.group(1)) - def handleFree(self, pyfile): + def handle_free(self, pyfile): if re.search(self.ERR_PARDL_PATTERN, self.html): self.longWait(5 * 60, 12) -- cgit v1.2.3