remotes/1693045480750635534/spooky-22
Aevann1 2021-07-25 04:55:25 +02:00
parent b9e52eb4ca
commit a24b4e7458
2 changed files with 3 additions and 3 deletions

View File

@ -345,7 +345,7 @@ def get_comment(cid, v=None, graceful=False, **kwargs):
Comment,
).filter(Comment.id == i).first()
if not q and not graceful:
if not x and not graceful:
abort(404)

View File

@ -320,7 +320,7 @@ def u_username(username, v=None):
for p in sticky:
ids = [p.id] + ids
listing = get_posts(ids, v=v, sort="new")
listing = get_posts(ids, v=v)
if u.unban_utc:
unban = datetime.fromtimestamp(u.unban_utc).strftime('%c')
@ -519,7 +519,7 @@ def saved_posts(v, username):
ids=ids[0:25]
listing = get_posts(ids, v=v, sort="new")
listing = get_posts(ids, v=v)
return {'html': lambda: render_template("userpage.html",
u=v,