forked from MarseyWorld/MarseyWorld
fix 500 error for loggedout-cels
parent
1971dc1b73
commit
afdf3ebc78
|
@ -1052,7 +1052,8 @@ def u_username_comments(username, v=None):
|
|||
|
||||
ids.update([x.id for x in listing])
|
||||
|
||||
output = get_comments_v_properties(v, None, Comment.id.in_(ids))[1]
|
||||
if v:
|
||||
output = get_comments_v_properties(v, None, Comment.id.in_(ids))[1]
|
||||
|
||||
if v and v.client:
|
||||
return {"data": [c.json(g.db) for c in listing]}
|
||||
|
|
Loading…
Reference in New Issue