python 报错:not all arguments converted during string formatting

Problem:
Python error: not all arguments converted during string formatting

The reason: there is only one value, with two arguments.
logger.info (name, "Login successful")
modified to:
logger.info ( "Login successful")

This blog just record myself met the bug, only for personal reference.
If it is not very clear, please forgive me.
If you encounter the same problem, please leave a message, I will answer in detail.

Guess you like

Origin blog.csdn.net/weixin_44981302/article/details/92570774