This commit is contained in:
WQY\qiong
2022-10-14 23:40:55 +08:00
parent c5480d55ca
commit fa34d86b8a

View File

@@ -172,7 +172,7 @@ def pick_snapshot(name: str, tag: str, discard: bool) -> ChangeSet:
def _get_change_set(name: str, operation: int, undo: bool) -> dict[str, Any]:
row = read(name, f'select * from operation where id = {operation}')
return eval(row['undo']) if undo else eval(row['redo'])
return eval(row['undo_cs']) if undo else eval(row['redo_cs'])
def sync_with_server(name: str, operation: int) -> ChangeSet: