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: