浏览代码

[minor] set response in app.py

version-14
Rushabh Mehta 8 年前
父节点
当前提交
687af5ccc4
共有 2 个文件被更改,包括 1 次插入3 次删除
  1. +1
    -0
      frappe/app.py
  2. +0
    -3
      frappe/frappeclient.py

+ 1
- 0
frappe/app.py 查看文件

@@ -122,6 +122,7 @@ def make_form_dict(request):
frappe.local.form_dict.pop("_")

def handle_exception(e):
response = None
http_status_code = getattr(e, "http_status_code", 500)
return_as_message = False



+ 0
- 3
frappe/frappeclient.py 查看文件

@@ -5,9 +5,6 @@ import frappe

'''
FrappeClient is a library that helps you connect with other frappe systems



'''

class AuthError(Exception):


正在加载...
取消
保存