I keep getting an error that says
AttributeError: \'NoneType\' object has no attribute \'something\'
You have a variable that is equal to None and you're attempting to access an attribute of it called 'something'.
foo = None foo.something = 1
or
foo = None print(foo.something)
Both will yield an AttributeError: 'NoneType'
AttributeError: 'NoneType'