From c7f47bf06d90c572032063b010c043ffec1e5e2c Mon Sep 17 00:00:00 2001 From: wqy Date: Sat, 24 Sep 2022 23:16:24 +0800 Subject: [PATCH] Lib has finish the split work --- api/operation.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/api/operation.py b/api/operation.py index c746383..a10e413 100644 --- a/api/operation.py +++ b/api/operation.py @@ -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