dfssdf
This commit is contained in:
parent
57d7e1e341
commit
2df39bef7e
1 changed files with 1 additions and 0 deletions
|
@ -506,6 +506,7 @@ def api_comment(v):
|
||||||
|
|
||||||
zozbot = g.db.query(User).options(lazyload('*')).filter_by(id = ZOZBOT_ACCOUNT).first()
|
zozbot = g.db.query(User).options(lazyload('*')).filter_by(id = ZOZBOT_ACCOUNT).first()
|
||||||
zozbot.comment_count += 3
|
zozbot.comment_count += 3
|
||||||
|
zozbot.coins += 3
|
||||||
g.db.add(zozbot)
|
g.db.add(zozbot)
|
||||||
|
|
||||||
g.db.flush()
|
g.db.flush()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue