summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/Account.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugin/Account.py')
-rw-r--r--pyload/plugin/Account.py6
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