Skip to content

Commit

Permalink
style: Ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
adityahase committed Dec 30, 2024
1 parent 3e14845 commit e6fe659
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -247,9 +247,9 @@ def delete_duplicate_snapshot_docs(snapshot):
if snapshot_count > 1:
frappe.db.sql(
"""
DELETE
FROM `tabVirtual Disk Snapshot`
WHERE snapshot_id=%s
DELETE
FROM `tabVirtual Disk Snapshot`
WHERE snapshot_id=%s
LIMIT %s
""",
(snapshot_id, snapshot_count - 1),
Expand Down

0 comments on commit e6fe659

Please sign in to comment.