update \n logic

This commit is contained in:
deathbybandaid 2019-05-04 17:21:48 -04:00
parent a27d2dfd2f
commit a91587c2bf

View File

@ -95,12 +95,12 @@ def bot_logging(bot, logtype, logentry):
if 'SpiceBot_Logs_queue' not in bot.memory:
bot.memory['SpiceBot_Logs_queue'] = []
logmessage = "\n[" + logtype + "] " + logentry + "\n"
logmessage = "[" + logtype + "] " + logentry + ""
if bot.config.SpiceBot_Logs.logging_channel:
bot.memory['SpiceBot_Logs_queue'].append(logmessage)
stderr(logmessage)
stderr("\n" + logmessage + "\n")
if 'SpiceBot_Logs' not in bot.memory:
bot.memory['SpiceBot_Logs'] = {}