浏览代码

Fixing non-working logging function

Penta 5 年之前
父节点
当前提交
c7d468aef1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      myanimebot.py

+ 1 - 1
myanimebot.py

@@ -419,6 +419,6 @@ if __name__ == "__main__":
 	try:
 		globals.client.run(globals.token)
 	except Exception as e:
-		globals.logger.logging.error("Encountered exception while running the bot: {}".format(e))
+		globals.logger.error("Encountered exception while running the bot: {}".format(e))
 
 	exit_app()