diff --git a/Website/__init__.py b/Website/__init__.py index d9f929f..2bad171 100644 --- a/Website/__init__.py +++ b/Website/__init__.py @@ -141,7 +141,7 @@ def create_app(test_config=None): c = db.cursor() try: user_id = request.form["id"] - change = int(float(request.form["change"]) * 100) + change = int(float(request.form["change"]) * float(100)) except: return render_template("error.html", error_code="095") c.execute(f"SELECT * FROM users WHERE id=?", [user_id])