encode
This commit is contained in:
parent
c1a4420744
commit
5761718170
2 changed files with 1 additions and 1 deletions
BIN
.test.conf.swp
BIN
.test.conf.swp
Binary file not shown.
|
@ -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'...",
|
||||
|
|
Loading…
Reference in a new issue