update applications/common/utils/validate.py.

Signed-off-by: 我叫以赏 <422880152@qq.com>
This commit is contained in:
我叫以赏
2023-02-13 00:22:20 +00:00
committed by Gitee
parent 7c91bb3e0d
commit 0fb0937a8e
+1 -1
View File
@@ -2,7 +2,7 @@
from flask import abort, make_response, jsonify, escape
def str_escape(s: str) -> str:
def str_escape(s):
if not s:
return None
return str(escape(s))