forked from MarseyWorld/MarseyWorld
dont repeat urself
parent
935820bedb
commit
83c8af6f85
|
@ -215,11 +215,12 @@ def award_thing(v, thing_type, id):
|
|||
else:
|
||||
awarded_coins = 0
|
||||
|
||||
if kind == 'shit':
|
||||
author.charge_account('coins', awarded_coins, should_check_balance=False)
|
||||
v.pay_account('coins', awarded_coins)
|
||||
elif AWARDS[kind]['cosmetic']:
|
||||
author.pay_account('coins', awarded_coins)
|
||||
if awarded_coins:
|
||||
if kind == 'shit':
|
||||
author.charge_account('coins', awarded_coins, should_check_balance=False)
|
||||
v.pay_account('coins', awarded_coins)
|
||||
else:
|
||||
author.pay_account('coins', awarded_coins)
|
||||
|
||||
if thing_type == 'comment':
|
||||
link_text_in_notif = "your comment"
|
||||
|
|
Loading…
Reference in New Issue