Require wtfdbfile to be in config
This commit is contained in:
parent
7deb3c9d5e
commit
102b3da887
1 changed files with 1 additions and 1 deletions
2
wtf.py
2
wtf.py
|
|
@ -212,7 +212,7 @@ def main(configfile):
|
||||||
|
|
||||||
nick = config.get("general", "nick")
|
nick = config.get("general", "nick")
|
||||||
cookiefile = config.get("general", "cookiefile", fallback=None)
|
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)
|
bot = WtfBot(nick, wtfdbfile, cookiefile=cookiefile)
|
||||||
|
|
||||||
for room, password in config.items("rooms"):
|
for room, password in config.items("rooms"):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue