Fix key error

This commit is contained in:
Dusty.P 2018-06-12 00:11:34 -08:00
parent 58bbd83f3f
commit a30f2cc4ae

View File

@ -55,7 +55,7 @@ class SebiMachine(commands.Bot, LoadConfig, Loggable):
commands.Bot.__init__(self, command_prefix=self.defaultprefix)
with open(in_here('config', 'PrivateConfig.json')) as fp:
self.bot_secrets = json.load(fp)
self.db_con = database.DatabaseConnection(**self.bot_secrets['db_con'])
self.db_con = database.DatabaseConnection(**self.bot_secrets['db-con'])
# Load plugins
# Add your cog file name in this list