diff --git a/frappe/modules/import_file.py b/frappe/modules/import_file.py index 92e7523e6d..f9c7b55a99 100644 --- a/frappe/modules/import_file.py +++ b/frappe/modules/import_file.py @@ -11,7 +11,7 @@ from frappe.query_builder import DocType from frappe.utils import get_datetime, now -def caclulate_hash(path: str) -> str: +def calculate_hash(path: str) -> str: """Calculate md5 hash of the file in binary mode Args: @@ -99,7 +99,7 @@ def import_file_by_path(path: str,force: bool = False,data_import: bool = False, print(f"{path} missing") return - calculated_hash = caclulate_hash(path) + calculated_hash = calculate_hash(path) if docs: if not isinstance(docs, list):