From 87914d05c5b38179c9eeaf3f1049eb6e1412c13e Mon Sep 17 00:00:00 2001 From: Antoine Nguyen Date: Mon, 9 Mar 2020 15:51:15 +0100 Subject: [PATCH] Updated coded function prototypes. see #1689 --- modoboa/lib/imap_utf7.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modoboa/lib/imap_utf7.py b/modoboa/lib/imap_utf7.py index 95caa987b..c8901a9b6 100644 --- a/modoboa/lib/imap_utf7.py +++ b/modoboa/lib/imap_utf7.py @@ -69,7 +69,7 @@ def doB64(_in, r): # NOQA:N802 del _in[:] -def encoder(s): +def encoder(s, *args, **kwargs): r = [] _in = [] for c in s: @@ -93,7 +93,7 @@ def modified_unutf7(s): return s_utf7.decode("utf-7") -def decoder(s): +def decoder(s, *args, **kwargs): r = [] decoded = bytearray() for c in s: