TypeError

'NoneType' object has no attribute '__getitem__'

The following options may assist you in resolving this issue:

Traceback

Traceback (innermost last):

TypeError: 'NoneType' object has no attribute '__getitem__'