dsfdsf
This commit is contained in:
parent
fa0501a764
commit
f272262e8a
1 changed files with 2 additions and 1 deletions
|
@ -234,7 +234,8 @@ def shop(v):
|
|||
},
|
||||
}
|
||||
|
||||
for useraward in g.db.query(AwardRelationship).filter(AwardRelationship.user_id == v.id, AwardRelationship.submission_id == None, AwardRelationship.comment_id == None).all(): AWARDS[useraward.kind]["owned"] += 1
|
||||
for useraward in g.db.query(AwardRelationship).filter(AwardRelationship.user_id == v.id, AwardRelationship.submission_id == None, AwardRelationship.comment_id == None).all():
|
||||
if useraward.kind in AWARDS: AWARDS[useraward.kind]["owned"] += 1
|
||||
|
||||
if v.patron == 1: discount = 0.90
|
||||
elif v.patron == 2: discount = 0.85
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue