From 3956327aa3ba0db902bfcf079420642fb7d2546d Mon Sep 17 00:00:00 2001 From: Pedro Algarvio Date: Wed, 18 Jan 2012 07:07:11 +0000 Subject: Fix Oron Account plugin `loadAccountInfo` signature --- module/plugins/accounts/OronCom.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'module') diff --git a/module/plugins/accounts/OronCom.py b/module/plugins/accounts/OronCom.py index 793984121..174b5a0d9 100755 --- a/module/plugins/accounts/OronCom.py +++ b/module/plugins/accounts/OronCom.py @@ -23,13 +23,13 @@ from time import strptime, mktime class OronCom(Account): __name__ = "OronCom" - __version__ = "0.12" + __version__ = "0.13" __type__ = "account" __description__ = """oron.com account plugin""" __author_name__ = ("DHMH") __author_mail__ = ("DHMH@pyload.org") - def loadAccountInfo(self, user, req): + def loadAccountInfo(self, req): req.load("http://oron.com/?op=change_lang&lang=german") src = req.load("http://oron.com/?op=my_account").replace("\n", "") validuntil = re.search(r"Premiumaccount läuft bis:\s*(.*?)", src) @@ -52,3 +52,4 @@ class OronCom(Account): page = req.load("http://oron.com/login", post={"login": user, "password": data["password"], "op": "login"}) if r'Login oder Passwort falsch' in page: self.wrongPassword() + -- cgit v1.2.3