Return change set

This commit is contained in:
wqy
2022-09-17 20:36:23 +08:00
parent 35c5881114
commit 6ebaa21a7c
2 changed files with 3 additions and 3 deletions

View File

@@ -123,7 +123,7 @@ def delete_node(name: str, node_type: str, id: str, table_sql: str, table_undo_s
cur.execute(f"select * from coordinates where node = '{id}'")
row = cur.fetchone()
if row == None:
return
return ChangeSet()
coord = row['coord']