From c41d6da6bf5fe93489598745a520fbcb47bc995f Mon Sep 17 00:00:00 2001 From: Marco Pattaro Date: Mon, 14 Nov 2022 15:33:58 +0100 Subject: [PATCH] fix append and join of param parts --- imbox/parser.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/imbox/parser.py b/imbox/parser.py index 692a2b2..161caab 100644 --- a/imbox/parser.py +++ b/imbox/parser.py @@ -86,10 +86,10 @@ def decode_param(param): value = str_encode(value, encoding) - value_results.append(value) + value_results.append(value) - if value_results: - v = ''.join(value_results) + if value_results: + v = ''.join(value_results) logger.debug("Decoded parameter {} - {}".format(name, v)) return name, v