diff options
author | Armin <Armin@Armin-PC.diedering.lan> | 2015-04-09 20:11:11 +0200 |
---|---|---|
committer | Armin <Armin@Armin-PC.diedering.lan> | 2015-04-09 20:11:11 +0200 |
commit | f53d57b902b71708f05a3125872ec5d34ebe65b9 (patch) | |
tree | 2f8756396411a98331cb937e42ded87da2c9f253 /pyload/plugin/Account.py | |
parent | Merge remote-tracking branch 'origin/0.4.10' into 0.4.10 (diff) | |
download | pyload-f53d57b902b71708f05a3125872ec5d34ebe65b9.tar.xz |
fix: OboomCom and SmoozedCom with beaker >= v1.7.x
fix: run plugins this fix makes the plugin attribute "__name" obsolet
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 b14615d3a..6a3eddc5b 100644 --- a/pyload/plugin/Account.py +++ b/pyload/plugin/Account.py @@ -197,7 +197,7 @@ class Account(Base): "maxtraffic" : None, "premium" : None, "timestamp" : 0, #: time this info was retrieved - "type" : self.__name} + "type" : self.__class__.__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.__class__.__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.__class__.__name__, user) return cj |