From 008ff03882740ffedb260f3daa09e061c34e0ad4 Mon Sep 17 00:00:00 2001 From: Florent Daigniere Date: Wed, 30 Aug 2023 15:11:58 +0200 Subject: [PATCH] as per review --- optional/fetchmail/fetchmail.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/optional/fetchmail/fetchmail.py b/optional/fetchmail/fetchmail.py index 8fad8926..a298cf53 100755 --- a/optional/fetchmail/fetchmail.py +++ b/optional/fetchmail/fetchmail.py @@ -64,7 +64,7 @@ def run(debug): username=escape_rc_string(fetch["username"]), password=escape_rc_string(fetch["password"]), options=options, - folders='' if fetch['protocol'].lower().startswith('pop') else folders, + folders='' if fetch['protocol'] == 'pop3' else folders, lmtp='' if fetch['scan'] else 'lmtp', ) if debug: