Jelajahi Sumber

Fixing non-working logging function

Penta 5 tahun lalu
induk
melakukan
c7d468aef1
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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()