master
Aevann1 2022-01-03 13:37:39 +02:00
parent b5ada859ff
commit bad43f03a2
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ def downvoting(v, username):
@auth_required
@validate_formkey
def pay_rent(v):
if v.coins < 500: return {"error","You must have more than 500 coins."}
if v.coins < 500: return {"error":"You must have more than 500 coins."}
v.coins -= 500
v.rent_utc = int(time.time())
g.db.add(v)