Python Typeerror Nonetype Object Has No Attribute Getitem

Python Typeerror Nonetype Object Has No Attribute Getitem