TypeError: ‘NoneType‘ object is not subscriptable解决办法

NoSuchKey