builtmaster,phase1: add missing services dict
authorPetr Štetiar <ynezz@true.cz>
Fri, 5 Mar 2021 12:06:21 +0000 (13:06 +0100)
committerPetr Štetiar <ynezz@true.cz>
Fri, 5 Mar 2021 15:11:31 +0000 (16:11 +0100)
Fixes following error:

 2021-03-05 11:00:54+0000 [-] error while parsing config file:
 ...
        builtins.KeyError: 'services'

Signed-off-by: Petr Štetiar <ynezz@true.cz>
phase1/master.cfg

index e01a1a5468da4d000c57325325a06fdc6492dc8c..5773257f9b9f70b5021347b0098c77a686fb686b 100644 (file)
@@ -1347,7 +1347,7 @@ if ini.has_option("phase1", "status_bind"):
                        roleMatchers=[ util.RolesFromUsername(roles=["admins"], usernames=[ini.get("phase1", "status_user")]) ]
                )
 
-
+c['services'] = []
 if ini.has_option("irc", "host") and ini.has_option("irc", "nickname") and ini.has_option("irc", "channel"):
        irc_host = ini.get("irc", "host")
        irc_port = 6667