Browse Source

fix: add frappe.enqueue to server scripts (#14202)

version-14
Faris Ansari 3 years ago
committed by GitHub
parent
commit
a3d9a3290d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      frappe/utils/safe_exec.py

+ 2
- 1
frappe/utils/safe_exec.py View File

@@ -116,7 +116,8 @@ def get_safe_globals():
socketio_port=frappe.conf.socketio_port,
get_hooks=frappe.get_hooks,
sanitize_html=frappe.utils.sanitize_html,
log_error=frappe.log_error
log_error=frappe.log_error,
enqueue=frappe.enqueue
),
FrappeClient=FrappeClient,
style=frappe._dict(


Loading…
Cancel
Save