From 102b3da887e311528d934f97a5676d6d6043fb9c Mon Sep 17 00:00:00 2001 From: Joscha Date: Mon, 3 Sep 2018 20:38:45 +0000 Subject: [PATCH] Require wtfdbfile to be in config --- wtf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wtf.py b/wtf.py index 64a93a2..ec4c7f2 100644 --- a/wtf.py +++ b/wtf.py @@ -212,7 +212,7 @@ def main(configfile): nick = config.get("general", "nick") cookiefile = config.get("general", "cookiefile", fallback=None) - wtfdbfile = config.get("general", "wtfdbfile", fallback=None) + wtfdbfile = config.get("general", "wtfdbfile") bot = WtfBot(nick, wtfdbfile, cookiefile=cookiefile) for room, password in config.items("rooms"):