소스 검색

feat: add lang to safe globals

(cherry picked from commit 836fd6ef78)
version-14
barredterra 2 년 전
committed by Mergify
부모
커밋
0293c113c6
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. +1
    -0
      frappe/utils/safe_exec.py

+ 1
- 0
frappe/utils/safe_exec.py 파일 보기

@@ -181,6 +181,7 @@ def get_safe_globals():
run_script=run_script,
is_job_queued=is_job_queued,
get_visible_columns=get_visible_columns,
lang=getattr(frappe.local, "lang", "en"),
)

add_module_properties(


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