From 21f1a96c08337d7fea55267654548a3fc596d355 Mon Sep 17 00:00:00 2001 From: Fabian Arrotin Date: Tue, 19 Nov 2024 14:38:18 +0100 Subject: [PATCH] Fix for .py file that is imported for fedmsg Signed-off-by: Fabian Arrotin --- templates/mbs/endpoints.py.j2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/mbs/endpoints.py.j2 b/templates/mbs/endpoints.py.j2 index 7050b49..9b8db41 100644 --- a/templates/mbs/endpoints.py.j2 +++ b/templates/mbs/endpoints.py.j2 @@ -4,4 +4,8 @@ config = dict( "supybot.value01": {{ mbs_fedora_messaging_addrs }} } ) +{% else %} +config = { + 'endpoints': {}, +} {% endif %}