diff options
author | 2015-04-20 22:24:43 +0200 | |
---|---|---|
committer | 2015-04-20 22:24:43 +0200 | |
commit | 919b6dacac69459c64239c3d48ccc435a18b049c (patch) | |
tree | af4b6fb3c49b1f79960a810c3963681f8be86b3f /pyload/plugin/Account.py | |
parent | add log warnings by using of deprecated features (diff) | |
download | pyload-919b6dacac69459c64239c3d48ccc435a18b049c.tar.xz |
Improve getClassName
Diffstat (limited to 'pyload/plugin/Account.py')
-rw-r--r-- | pyload/plugin/Account.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pyload/plugin/Account.py b/pyload/plugin/Account.py index c46eae5e3..73554cc39 100644 --- a/pyload/plugin/Account.py +++ b/pyload/plugin/Account.py @@ -196,7 +196,7 @@ class Account(Base): "maxtraffic" : None, "premium" : None, "timestamp" : 0, #: time this info was retrieved - "type" : self.__class__.__name__} + "type" : self.getClassName()} def getAllAccounts(self, force=False): @@ -209,7 +209,7 @@ class Account(Base): if not user: return None - req = self.core.requestFactory.getRequest(self.__class__.__name__, user) + req = self.core.requestFactory.getRequest(self.getClassName(), user) return req @@ -219,7 +219,7 @@ class Account(Base): if not user: return None - cj = self.core.requestFactory.getCookieJar(self.__class__.__name__, user) + cj = self.core.requestFactory.getCookieJar(self.getClassName(), user) return cj |