소스 검색

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

(cherry picked from commit e997d82da3)

Co-authored-by: Bhavesh Maheshwari <34086262+bhavesh95863@users.noreply.github.com>
version-14
mergify[bot] 3 년 전
committed by GitHub
부모
커밋
c3e350f2c6
No known key found for this signature in database GPG 키 ID: 4AEE18F83AFDEB23
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      frappe/modules/import_file.py

+ 2
- 2
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):


불러오는 중...
취소
저장