Home > other >  Turn to god to help me see see!
Turn to god to help me see see!

Time:10-03

The File "moso. Py", line 133, in
AnswerRows=getSubJectAnswer (opener, userId)
File "moso. Py, 48, the line in getSubJectAnswer
TrueRate=item. The find (attrs={" style ":" color: # 7 ac6c;" }). The string
AttributeError: 'NoneType' object has no attribute 'string'
This is what circumstance, python3.6

CodePudding user response:

Find back to None
Return_data=https://bbs.csdn.net/topics/item.find (attrs={" style ":" color: # 7 ac6c;" })
If return_data is None:
# returns None handling code
The else:
TrueRate=return_data. String
  • Related