Python Error List Object Attribute Append Is Read Only