Browse Source

Fixing non-working logging function

Penta 5 năm trước cách đây
mục cha
commit
c7d468aef1
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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()