summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/Account.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-18 23:26:48 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-18 23:26:48 +0200
commit1bc7db9098967a166b17df59065861fbe3cd41d8 (patch)
tree6eeea765ef1e9c9c06acaa363408b94d00a64b46 /module/plugins/internal/Account.py
parentCode cosmetics (diff)
downloadpyload-1bc7db9098967a166b17df59065861fbe3cd41d8.tar.xz
[Hoster] Fix the http request issue
Diffstat (limited to 'module/plugins/internal/Account.py')
-rw-r--r--module/plugins/internal/Account.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/module/plugins/internal/Account.py b/module/plugins/internal/Account.py
index b437b4a55..951d279be 100644
--- a/module/plugins/internal/Account.py
+++ b/module/plugins/internal/Account.py
@@ -16,7 +16,7 @@ class WrongPassword(Exception):
class Account(Plugin):
__name__ = "Account"
__type__ = "account"
- __version__ = "0.04"
+ __version__ = "0.05"
__description__ = """Base account plugin"""
__license__ = "GPLv3"
@@ -92,8 +92,9 @@ class Account(Plugin):
def relogin(self, user):
req = self.get_account_request(user)
if req:
- req.cj.clear()
+ req.clearCookies()
req.close()
+
if user in self.infos:
del self.infos[user] #: delete old information