Fix bug
This commit is contained in:
@@ -14,7 +14,7 @@ def _remove_operation(name: str, id: int) -> None:
|
|||||||
if row != None:
|
if row != None:
|
||||||
raise Exception('Disallow to remove parent operation !')
|
raise Exception('Disallow to remove parent operation !')
|
||||||
|
|
||||||
sql += f'delete from snapshot_operation where id = {id};'
|
sql = f'delete from snapshot_operation where id = {id};'
|
||||||
sql += f'delete from operation where id = {id}'
|
sql += f'delete from operation where id = {id}'
|
||||||
write(name, sql)
|
write(name, sql)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user