fsddsf
This commit is contained in:
parent
31fe4f857a
commit
7499cf434e
1 changed files with 1 additions and 0 deletions
|
@ -36,6 +36,7 @@ def notify(v):
|
||||||
|
|
||||||
users = (x[0] for x in g.db.query(User.id).all())
|
users = (x[0] for x in g.db.query(User.id).all())
|
||||||
for u in users:
|
for u in users:
|
||||||
|
print(u)
|
||||||
notif = Notification(comment_id=new_comment.id, user_id=u)
|
notif = Notification(comment_id=new_comment.id, user_id=u)
|
||||||
g.db.add(notif)
|
g.db.add(notif)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue