AttributeError: 'NoneType' object has no attribute 'split'
来源:4-11 完整得case流程集合破解验证码
sunshine_mtt
2019-06-27
之前在别的项目下写过相同的代码正确取到值了,换了个项目就报错了
def get_element(self,key):
read_ini = ReadIni()
data = read_ini.get_value(key)
by = data.split(’>’)[0]
value = data.split(’>’)[1]
print(by,value)
写回答
1回答
-
sunshine_mtt
提问者
2019-06-27
已解决。
00
相似问题