From 0204c9e59d5202090d44d6747b635201f399c99e Mon Sep 17 00:00:00 2001 From: Florent Daigniere Date: Wed, 19 Oct 2022 16:08:29 +0200 Subject: [PATCH] doh --- core/admin/mailu/internal/views/rspamd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/admin/mailu/internal/views/rspamd.py b/core/admin/mailu/internal/views/rspamd.py index 3d3f8719..e2e453ad 100644 --- a/core/admin/mailu/internal/views/rspamd.py +++ b/core/admin/mailu/internal/views/rspamd.py @@ -29,4 +29,4 @@ def rspamd_dkim_key(domain_name): @internal.route("/rspamd/local_domains", methods=['GET']) def rspamd_local_domains(): domains = set(models.Domain.query.all() + models.Alternative.query.all()) - return '\n'.join(domains) + return '\n'.join(map(str,domains))