dfs
This commit is contained in:
parent
0dfbf60518
commit
2f0eadc1dd
1 changed files with 2 additions and 1 deletions
|
@ -308,7 +308,8 @@ def award_comment(cid, v):
|
|||
g.db.add(c.author)
|
||||
|
||||
g.db.commit()
|
||||
return redirect(request.referrer)
|
||||
if request.referrer and len(request.referrer) > 1: return redirect(request.referrer)
|
||||
else: return redirect("/")
|
||||
|
||||
@app.get("/admin/user_award")
|
||||
@auth_required
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue