def whitelist():
with io.open('static/whitelist.txt', 'r', encoding="utf-8") as f: #gets the contents of whitelist.txt so they can be displayed
data = f.read().replace('@', ' [at] ').replace('.', ' [dot] ')
return render_template('whitelist.html',data=data)
评论列表
文章目录