Skip to content

Commit

Permalink
fix: add guard for wiki feedback patch (#259)
Browse files Browse the repository at this point in the history
  • Loading branch information
BreadGenie authored Jul 22, 2024
1 parent 4898ceb commit df7b115
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@


def execute():
if not frappe.db.table_exists("Wiki Feedback Item"):
return

for d in frappe.db.sql("select * from `tabWiki Feedback Item`", as_dict=True):
if not d.parent:
continue
Expand Down

0 comments on commit df7b115

Please sign in to comment.