From 4ad4d6d10d5e8727cc4f6afcf6482182d0e39c63 Mon Sep 17 00:00:00 2001 From: holger krekel Date: Fri, 5 Jun 2020 23:03:14 +0200 Subject: [PATCH] Update python/src/deltachat/direct_imap.py Co-authored-by: Hocuri --- python/src/deltachat/direct_imap.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/python/src/deltachat/direct_imap.py b/python/src/deltachat/direct_imap.py index 37da51413..2328d4a08 100644 --- a/python/src/deltachat/direct_imap.py +++ b/python/src/deltachat/direct_imap.py @@ -14,11 +14,9 @@ def db_folder_attr(name): class ImapConn: def __init__(self, account): self.account = account - imap_conn_info = ( - account.get_config("configured_mail_server"), - account.get_config("addr"), - account.get_config("mail_pw")) - host, user, pw = imap_conn_info + host = account.get_config("configured_mail_server"), + user = account.get_config("addr"), + pw = account.get_config("mail_pw")) self.connection = imaplib.IMAP4_SSL(host) self.connection.login(user, pw) self._original_msg_count = {}