python之一异常问题(TypeError: object of type 'NoneType' has no len())

   将赋值none改为‘’,即:

aqi =''
aqiInfo =''
aqiLevel = ''
便可以解决
原文地址:https://www.cnblogs.com/mumianhuasayyes/p/15800467.html