fix open imap as readonly

This commit is contained in:
quenousimporte 2024-04-10 17:13:55 +02:00
parent bc452a9f64
commit 982ff576c5
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ N = 200
imap = imaplib.IMAP4_SSL(imapserver) imap = imaplib.IMAP4_SSL(imapserver)
imap.login(username, password) imap.login(username, password)
status, messages = imap.select("Notes") status, messages = imap.select("Notes", True)
messages = int(messages[0]) messages = int(messages[0])