aboutsummaryrefslogtreecommitdiff
path: root/bitbotd
diff options
context:
space:
mode:
authorGravatar jesopo2020-01-30 11:50:40 +0000
committerGravatar jesopo2020-01-30 11:50:40 +0000
commit49f14caf42e44b362f815273a5b5e4699f5678df (patch)
treeba5ff0bea49395541d50f4f31772a7b2aa71042e /bitbotd
parentupdate aliases.py to use command specs (diff)
signature
support different Config names
Diffstat (limited to 'bitbotd')
-rwxr-xr-xbitbotd2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbotd b/bitbotd
index 77810c7e..e3962dde 100755
--- a/bitbotd
+++ b/bitbotd
@@ -46,7 +46,7 @@ if args.version:
print("BitBot %s" % IRCBot.VERSION)
sys.exit(0)
-config = Config.Config(args.config)
+config = Config.Config("bot", args.config)
config.load()
DATA_DIR = os.path.expanduser(config.get("data-directory", "~/.bitbot"))