forgot to actually execute the query

remotes/1693176582716663532/tmp_refs/heads/watchparty
justcool393 2022-10-11 11:29:14 -07:00
parent 65e4a179b0
commit 9044548630
1 changed files with 1 additions and 0 deletions

View File

@ -69,6 +69,7 @@ def vote_post_comment(target_id, new, v, cls, vote_cls):
existing = existing.filter_by(comment_id=target.id)
else:
abort(400)
existing = existing.one_or_none()
if DOUBLE_XP_ENABLED > 0:
if not existing and int(time.time()) > DOUBLE_XP_ENABLED: