From da38f01e7c0d3556175f4070b2c487ee7dcea66d Mon Sep 17 00:00:00 2001 From: Aevann Date: Thu, 14 Nov 2024 17:54:10 +0200 Subject: [PATCH] remove unnecessary f --- files/routes/settings.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/files/routes/settings.py b/files/routes/settings.py index 2eaa9c1d5..6900045e1 100644 --- a/files/routes/settings.py +++ b/files/routes/settings.py @@ -1164,6 +1164,7 @@ def settings_age(v): if age < 18: remaining_years = 18 - age remaining_days = remaining_years * 365 - v.ban(reason=f"Underage (age input)", days=remaining_days) + v.ban(reason="Underage (age input)", days=remaining_days) + return {"message": "Age successfully updated!"}