Lib has finish the split work

This commit is contained in:
wqy
2022-09-24 23:16:24 +08:00
parent 11e30cc49f
commit c7f47bf06d

View File

@@ -95,8 +95,7 @@ def _get_change_set(row: dict[str, str], undo: bool) -> ChangeSet:
elif op == API_DELETE:
change.delete(type, id)
elif op == API_UPDATE:
ps = row['api_object_properties'].removeprefix('{').removesuffix('}').split(',')
change.update(type, id, ps)
change.update(type, id, row['api_object_properties'])
return change