From 7a103d5143a763adbe8ba68ee1f6d469e2dc9fff Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Wed, 2 Nov 2022 05:23:46 +0200 Subject: [PATCH] fix 500 error --- files/helpers/slots.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/files/helpers/slots.py b/files/helpers/slots.py index 3086e32379..c1d575834f 100644 --- a/files/helpers/slots.py +++ b/files/helpers/slots.py @@ -135,9 +135,8 @@ def execute_slots_command(v:User, u:User, c:Comment): abort(403, "You are under Rehab award effect!") return - wager = body.split(command_word)[1].split()[0] - try: + wager = body.split(command_word)[1].split()[0] wager = int(wager) except: if v.id == u.id: