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>
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