This error occurs because of the quotation marks used around the string value "低". In Python, you cannot use the same type of quotation marks inside a string that you used to define the string.

To fix this error, you can either use single quotes around the string value, like this:

obj.serverity == '低'

Or you can escape the quotes with a backslash, like this:

obj.serverity == "低"
Could not parse the remainder ==低 from objserverity==低

原文地址: https://www.cveoy.top/t/topic/ccVt 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录