网页修改备注功能增加标点符号全角改半角
This commit is contained in:
parent
93a6c1fc97
commit
944694f041
|
|
@ -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")
|
||||
|
|
|
|||
Reference in New Issue