def wladd():
if request.method == 'POST':
addr = request.form['addr'].lstrip().rstrip()
f = io.open('static/whitelist.txt', 'a', encoding="utf-8")
f.write(addr.decode('utf-8') + u'\r\n')
f.close()
return render_template('wladd.html')
评论列表
文章目录