fd
This commit is contained in:
parent
7706225037
commit
bd7d738827
1 changed files with 1 additions and 2 deletions
|
@ -307,8 +307,7 @@ def api_comment(v):
|
||||||
g.db.add(c_based)
|
g.db.add(c_based)
|
||||||
g.db.flush()
|
g.db.flush()
|
||||||
|
|
||||||
if v.id == 1: print(level)
|
if level == 1: basedguy = get_account(c.parent_submission.author_id)
|
||||||
if level == 0: basedguy = get_account(c.parent_submission.author_id)
|
|
||||||
else: basedguy = get_account(c.parent_comment.author_id)
|
else: basedguy = get_account(c.parent_comment.author_id)
|
||||||
basedguy.basedcount += 1
|
basedguy.basedcount += 1
|
||||||
g.db.add(basedguy)
|
g.db.add(basedguy)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue