From 2439bc22671dde697817291b721bfddb792a93b4 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Wed, 10 Dec 2014 19:07:53 +0100 Subject: Fix plugins key attributes --- pyload/plugins/Account.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'pyload/plugins/Account.py') diff --git a/pyload/plugins/Account.py b/pyload/plugins/Account.py index b5125d61c..79502df3a 100644 --- a/pyload/plugins/Account.py +++ b/pyload/plugins/Account.py @@ -19,13 +19,13 @@ class Account(Base): Just overwrite `login` and cookies will be stored and account becomes accessible in\ associated hoster plugin. Plugin should also provide `loadAccountInfo` """ - __name__ = "Account" - __type__ = "account" - __version__ = "0.03" + __name = "Account" + __type = "account" + __version = "0.03" - __description__ = """Base account plugin""" - __license__ = "GPLv3" - __authors__ = [("mkaay", "mkaay@mkaay.de")] + __description = """Base account plugin""" + __license = "GPLv3" + __authors = [("mkaay", "mkaay@mkaay.de")] #: after that time (in minutes) pyload will relogin the account @@ -197,7 +197,7 @@ class Account(Base): "maxtraffic": None, "premium": None, "timestamp": 0, #: time this info was retrieved - "type": self.__name__} + "type": self.__name} def getAllAccounts(self, force=False): @@ -210,7 +210,7 @@ class Account(Base): if not user: return None - req = self.core.requestFactory.getRequest(self.__name__, user) + req = self.core.requestFactory.getRequest(self.__name, user) return req @@ -220,7 +220,7 @@ class Account(Base): if not user: return None - cj = self.core.requestFactory.getCookieJar(self.__name__, user) + cj = self.core.requestFactory.getCookieJar(self.__name, user) return cj -- cgit v1.2.3