This commit is contained in:
Antonio J. Delgado 2025-03-26 19:19:03 +02:00
parent c1a4420744
commit 5761718170
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View file

@ -68,7 +68,7 @@ class BackupImap:
if mailbox == '':
real_mailbox = 'INBOX'
else:
real_mailbox = mailbox.decode()
real_mailbox = mailbox.encode()
self.imap.select(mailbox=f"\"{real_mailbox}\"", readonly=False)
self._log.debug(
"Searching for all messages in '%s'...",