Update fetchmail.py

Corrected wrong quotation marks
This commit is contained in:
DaCHack
2025-08-15 21:11:19 +02:00
committed by GitHub
parent 9054bd7f0c
commit f8604be3c8

View File

@@ -66,7 +66,7 @@ def run(debug):
for fetch in fetches:
fetchmailrc = ""
options = "options antispam 501, 504, 550, 553, 554"
if "OPTIONS" in os.environ: options += f' {os.environ['OPTIONS']}'
if "OPTIONS" in os.environ: options += f' {os.environ["OPTIONS"]}'
options += " ssl" if fetch["tls"] else ""
options += " keep" if fetch["keep"] else " fetchall"
folders = f"folders {",".join(f'"{imaputf7encode(item).replace('"',r"\34")}"' for item in fetch["folders"]) or '"INBOX"'}"