diff options
Diffstat (limited to 'src/jwebmail/read_mails.py')
-rw-r--r-- | src/jwebmail/read_mails.py | 3 |
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() |