Explorar el Código

Fixing non-working logging function

Penta hace 5 años
padre
commit
c7d468aef1
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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()