summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/Account.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-07-19 19:36:05 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-07-19 19:36:17 +0200
commit873f91be7d3316e93672731e2f3d2da02b41fca6 (patch)
tree5a12d1a5ac1f0a4aa5fca9ab9e6b86e64f25e388 /pyload/plugins/Account.py
parentExplain how to add tips for translators (diff)
downloadpyload-873f91be7d3316e93672731e2f3d2da02b41fca6.tar.xz
new plugin type and refactored request classes
Diffstat (limited to 'pyload/plugins/Account.py')
-rw-r--r--pyload/plugins/Account.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/plugins/Account.py b/pyload/plugins/Account.py
index 0bf201c1a..4492dfa18 100644
--- a/pyload/plugins/Account.py
+++ b/pyload/plugins/Account.py
@@ -70,7 +70,7 @@ class Account(Base):
self.lock = RLock()
self.timestamp = 0
self.login_ts = 0 # timestamp for login
- self.cj = CookieJar(self.__name__)
+ self.cj = CookieJar()
self.password = password
self.error = None
@@ -158,7 +158,7 @@ class Account(Base):
return self.options != before
def getAccountRequest(self):
- return self.core.requestFactory.getRequest(self.__name__, self.cj)
+ return self.core.requestFactory.getRequest(self.cj)
def getDownloadSettings(self):
""" Can be overwritten to change download settings. Default is no chunkLimit, max dl limit, resumeDownload