From 2f36c100423e5f19e7b7b594cf7835e81f0bc194 Mon Sep 17 00:00:00 2001 From: swee Date: Sun, 22 Dec 2024 19:33:37 -0800 Subject: [PATCH] Update sweebot.py --- sweebot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sweebot.py b/sweebot.py index 9cb1b8c..ecfe33d 100644 --- a/sweebot.py +++ b/sweebot.py @@ -623,7 +623,7 @@ while True: for i in extraflags: if i.lower() == "g": repeat = True - elif int(i.strip()).isdigit(): + elif i.strip().isdigit(): print(f"index = {int(i)}") index = int(i) else: