fix strip
This commit is contained in:
parent
671282a8b0
commit
25516432f5
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue