diff --git a/files/routes/posts.py b/files/routes/posts.py index 257917a20b..6a1bd08ff9 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -219,6 +219,8 @@ def post_id(pid, anything=None, v=None): post.tree_comments() + print(post.award_count("gold")) + if request.headers.get("Authorization"): return post.json else: return post.rendered_page(v=v, sort=sort)