From bad43f03a2d5bffb25028a7bc5b2ce5324a22ecf Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 3 Jan 2022 13:37:39 +0200 Subject: [PATCH] fds --- files/routes/users.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/users.py b/files/routes/users.py index 9c42e6a9f5..571f2e4586 100644 --- a/files/routes/users.py +++ b/files/routes/users.py @@ -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)