forked from MarseyWorld/MarseyWorld
fddf
parent
b9e52eb4ca
commit
a24b4e7458
|
@ -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)
|
||||
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue