remove externeous print statement

This commit is contained in:
justcool393 2023-02-08 22:47:07 -06:00 committed by Ben Rog-Wilhelm
parent 5d6641c890
commit 4f8cce1093

View file

@ -21,8 +21,6 @@ def admin_vote_info_get(v):
if thing.ghost and v.id != OWNER_ID: abort(403)
if not thing.author:
print(thing.id, flush=True)
if isinstance(thing, Submission):
if thing.author.shadowbanned and not (v and v.admin_level):
thing_id = g.db.query(Submission.id).filter_by(upvotes=thing.upvotes, downvotes=thing.downvotes).order_by(Submission.id).first()[0]