Remove copying example on edit for stuff to work. Don't know what doesn't work

This commit is contained in:
matic_t 2020-08-27 09:38:58 -07:00
parent f8bd865316
commit 45733b5cf7

View File

@ -40,7 +40,9 @@ def edit_sense_label(sense):
def edit_example(example, sense):
example_original = example
example = example_original.copy()
# example = example_original.deepcopy()
# example = copy.deepcopy(example)
# example.original_xml = example_original.original_xml.cloneNode(True)
def role_msg(idx, role):
return message.msg(message.ExampleRoleChange, example_original, idx, role)