瀏覽代碼

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

version-14
Faris Ansari 3 年之前
committed by GitHub
父節點
當前提交
a3d9a3290d
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 1 個檔案被更改,包括 2 行新增1 行删除
  1. +2
    -1
      frappe/utils/safe_exec.py

+ 2
- 1
frappe/utils/safe_exec.py 查看文件

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


Loading…
取消
儲存