From b967f3e931658f15f1d2211220942c9a4d0490a4 Mon Sep 17 00:00:00 2001 From: Matthias Bisping Date: Mon, 20 Jun 2022 15:32:01 +0200 Subject: [PATCH] map format in response formatter --- pyinfra/visitor/response_formatter/formatter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyinfra/visitor/response_formatter/formatter.py b/pyinfra/visitor/response_formatter/formatter.py index 9364bb4..589defc 100644 --- a/pyinfra/visitor/response_formatter/formatter.py +++ b/pyinfra/visitor/response_formatter/formatter.py @@ -3,7 +3,7 @@ import abc class ResponseFormatter(abc.ABC): def __call__(self, message): - return self.format(message) + return map(self.format, message) @abc.abstractmethod def format(self, message):