fix strip

This commit is contained in:
Antonio J. Delgado 2025-02-07 12:24:57 +02:00
parent 671282a8b0
commit 25516432f5

View file

@ -457,7 +457,7 @@ class ImapFilter:
)
sys.exit(2)
with open(imap_password_file, 'r', encoding='utf-8') as pass_file:
imap_password = pass_file.read().trim()
imap_password = pass_file.read().strip()
try:
self._log.debug('Authenticating as user %s...', imap_user)
self.imap.login(imap_user, imap_password)