This website works better with JavaScript.
Home
Explore
Help
Sign In
anoopmb
/
frappe
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
feat: add lang to safe globals
(cherry picked from commit
836fd6ef78
)
version-14
barredterra
2 years ago
committed by
Mergify
parent
ac9cfe7f9f
commit
0293c113c6
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
frappe/utils/safe_exec.py
+ 1
- 0
frappe/utils/safe_exec.py
View File
@@ -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(
Write
Preview
Loading…
Cancel
Save