From 5cf6a3ed9cb38ec221cb4b8de7fbfcef3686b3eb Mon Sep 17 00:00:00 2001 From: Joscha Date: Sun, 14 Apr 2019 20:16:07 +0000 Subject: [PATCH] Fix constructor --- infobot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infobot.py b/infobot.py index 0b3d9fc..118b046 100644 --- a/infobot.py +++ b/infobot.py @@ -58,8 +58,8 @@ class InfoBot(yaboli.Bot): "changelog": HELP_CHANGELOG, } - def __init__(self, config_file): - super().__init__(config_file) + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) # using our own help functions, which is why help_=False self.register_botrulez(help_=False, kill=True, restart=True)