summaryrefslogtreecommitdiff
path: root/src/jwebmail/read_mails.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/jwebmail/read_mails.py')
-rw-r--r--src/jwebmail/read_mails.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/jwebmail/read_mails.py b/src/jwebmail/read_mails.py
index 7775b12..f0f37c6 100644
--- a/src/jwebmail/read_mails.py
+++ b/src/jwebmail/read_mails.py
@@ -170,8 +170,7 @@ def login(username, password):
return False
else:
raise
- finally:
- qma.close()
+
r = _select_timeout_session()
r.set(username, password)
r.close()