forked from rDrama/rDrama
Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost
commit
c0b6fc1b42
|
@ -52,6 +52,7 @@ def vote_post_comment(target_id, new, v, cls, vote_cls):
|
|||
target = get_post(target_id)
|
||||
elif cls == Comment:
|
||||
target = get_comment(target_id)
|
||||
if not target.post: abort(404)
|
||||
else:
|
||||
abort(404)
|
||||
|
||||
|
|
Loading…
Reference in New Issue