网页修改备注功能增加标点符号全角改半角

This commit is contained in:
wangweiye7840 2024-06-04 11:59:45 +08:00
parent 93a6c1fc97
commit 944694f041
1 changed files with 1 additions and 0 deletions

View File

@ -66,6 +66,7 @@ def show_image():
def submit_remarks():
category = request.form['category']
remarks = request.form['remarks'].replace("\n"," ").strip()
remarks = RefinePunctuations(remarks)
date = GetDate()
# mydb = connect(hostname = db_host, port = db_port, username=db_user, pwd=db_pwd, db = "tikutest")
mydb = connect(hostname = db_host, port = db_port, username=db_user, pwd=db_pwd, db = "tiku")