summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/Account.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-11 02:55:22 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-11 02:55:22 +0200
commite76ecbb11c1f0cc104e0631d6a9dd0b6f358bd0c (patch)
tree6575b6fb40e049429f941ebb730f444f04e9ca2f /module/plugins/internal/Account.py
parentFix https://github.com/pyload/pyload/issues/1998 (diff)
downloadpyload-e76ecbb11c1f0cc104e0631d6a9dd0b6f358bd0c.tar.xz
Fix https://github.com/pyload/pyload/issues/1960
Diffstat (limited to 'module/plugins/internal/Account.py')
-rw-r--r--module/plugins/internal/Account.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/module/plugins/internal/Account.py b/module/plugins/internal/Account.py
index 8b80a0d5c..a6d2ffbf1 100644
--- a/module/plugins/internal/Account.py
+++ b/module/plugins/internal/Account.py
@@ -13,7 +13,7 @@ from module.utils import compare_time, lock
class Account(Plugin):
__name__ = "Account"
__type__ = "account"
- __version__ = "0.61"
+ __version__ = "0.62"
__status__ = "testing"
__description__ = """Base account plugin"""
@@ -143,7 +143,8 @@ class Account(Plugin):
try:
self.signin(self.user, self.info['login']['password'], self.info['data'])
- except Skip:
+ except Skip, e:
+ self.log_debug(e)
self.info['login']['valid'] = True
new_timeout = timestamp - self.info['login']['timestamp']
@@ -151,7 +152,7 @@ class Account(Plugin):
self.timeout = new_timeout
except Exception, e:
- self.log_error(_("Could not login user `%s`") % user, e)
+ self.log_error(_("Could not login user `%s`") % self.user, e)
self.info['login']['valid'] = False
else: