Skip to content

Commit

Permalink
fix: import path for file utils
Browse files Browse the repository at this point in the history
  • Loading branch information
barredterra committed Aug 21, 2023
1 parent 0a1bcac commit 7906bb7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion wiki/wiki/doctype/migrate_to_wiki/migrate_to_wiki.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
import shutil

import frappe
from frappe.core.doctype.file.file import get_content_hash, get_file_name
from frappe.core.doctype.file.file import get_content_hash
from frappe.core.doctype.file.utils import get_file_name
from frappe.model.document import Document


Expand Down
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 @@ -8,7 +8,7 @@
import frappe
from bleach_allowlist import bleach_allowlist
from frappe import _
from frappe.core.doctype.file.file import get_random_filename
from frappe.core.doctype.file.utils import get_random_filename
from frappe.utils.data import sbool
from frappe.utils.html_utils import (
acceptable_attributes,
Expand Down

0 comments on commit 7906bb7

Please sign in to comment.