Python Error Attributeerror List Object Attribute Append Is Read Only