summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/Account.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-20 23:07:42 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-20 23:07:42 +0200
commit2475ddb7654d0d6fb1be18082b5c8c480befdbb3 (patch)
treeb82a8b5fc0a309f69733b0a004284f4ef45833d8 /pyload/plugin/Account.py
parentSpare code cosmetics (9) (diff)
parentadded check of classname == filename (diff)
downloadpyload-2475ddb7654d0d6fb1be18082b5c8c480befdbb3.tar.xz
Merge branch 'pr/n10_ardi69' into 0.4.10
Conflicts: pyload/plugin/hoster/FileserveCom.py
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 fda76a78f..bb8f7d59a 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