diff options
author | 2015-02-16 03:40:45 +0100 | |
---|---|---|
committer | 2015-02-16 03:40:45 +0100 | |
commit | fcead1870013b6a970eca7878a66dbe783c80ea3 (patch) | |
tree | 9837d3b2cacba2f5d1a4c620b1cd02f26571b454 /pyload/plugin/Account.py | |
parent | Init cosmetics (diff) | |
download | pyload-fcead1870013b6a970eca7878a66dbe783c80ea3.tar.xz |
Partially revert acc46fc3497a66a427b795b4a22c6e71d69185a1
Diffstat (limited to 'pyload/plugin/Account.py')
-rw-r--r-- | pyload/plugin/Account.py | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/pyload/plugin/Account.py b/pyload/plugin/Account.py index b14615d3a..f8014908f 100644 --- a/pyload/plugin/Account.py +++ b/pyload/plugin/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 |