chore: typo mistake (#16275) (#16285)

(cherry picked from commit e997d82da3d5fa74f90fdd878bb0bd8a80bbbc06)

Co-authored-by: Bhavesh Maheshwari <34086262+bhavesh95863@users.noreply.github.com>
This commit is contained in:
mergify[bot] 2022-03-15 15:02:44 +05:30 committed by GitHub
parent b2e115513f
commit c3e350f2c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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):