error typeerror 'nonetype' object is not subscriptable?
In general, the error means that you attempted to index an object that doesn't have that functionality. ... 'NoneType' object is not subscriptable is the one thrown by python when you use the square bracket notation object[key] where an object doesn't define the __getitem__ method .