Python Attributeerror List Object Attribute Append Is Read Only