fix config

This commit is contained in:
deathbybandaid 2019-05-31 22:02:11 -04:00
parent c8a27a75ac
commit 737d948a2b
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ class BotConfig():
self.config.core.logs_raw = os.path.join(self.config.core.logdir, 'raw.log')
# self.config.core.logs_raw = os.path.os.path.join(self.config.core.logdir, self.config.basename + '.raw.log')
self.config.aibrain = os.path.join(self.config.homedir, self.config.basename + 'aibrain.brn')
self.config.aibrain = os.path.join(self.config.homedir, self.config.basename + '.aibrain.brn')
# load as dict
config = configparser.ConfigParser()

View File

@ -55,7 +55,7 @@ def setup(bot):
bot.config.core.logs_raw = os.path.join(bot.config.core.logdir, 'raw.log')
# bot.config.core.logs_raw = os.path.os.path.join(bot.config.core.logdir, bot.config.basename + '.raw.log')
bot.config.aibrain = os.path.join(bot.config.homedir, 'aibrain.brn')
bot.config.aibrain = os.path.join(bot.config.homedir, bot.config.basename + '.aibrain.brn')
logs.log('SpiceBot_Channels', "Setting Up Configuration")
events.startup_add([events.BOT_CHANNELS])