Skip to content

Commit

Permalink
chore: fix linter warning
Browse files Browse the repository at this point in the history
  • Loading branch information
mgiadach committed May 30, 2024
1 parent 25fce7e commit 99d73c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wiki/wiki/doctype/wiki_page/wiki_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ def get_sidebar_items(self):
wiki_page = frappe.get_doc("Wiki Page", sidebar_item.wiki_page)

if not wiki_page.allow_guest:
permitted = frappe.has_permission(wiki_page.doctype, 'read', wiki_page)
permitted = frappe.has_permission(wiki_page.doctype, "read", wiki_page)
if not permitted:
continue

Expand Down

0 comments on commit 99d73c5

Please sign in to comment.