Skip to content

Commit 0e9a7c2

Browse files
Fix
1 parent 0c6bb91 commit 0e9a7c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ def tag_vote():
165165
db.session.commit()
166166

167167
else:
168-
tags=db.session.query(Tag).filter(Tag.problem_id==problem_id)
168+
tags=db.session.query(Tag).filter(Tag.problem_id==params['problem_id'])
169169
vote_num=defaultdict(int)
170170

171171
for t in tags:

0 commit comments

Comments
 (0)