From d784694262dd88a2f5ee17abac2f528d15ea2bf1 Mon Sep 17 00:00:00 2001 From: swee Date: Sun, 22 Dec 2024 19:44:20 -0800 Subject: [PATCH] Update sweebot.py --- sweebot.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sweebot.py b/sweebot.py index a1330d1..299f234 100644 --- a/sweebot.py +++ b/sweebot.py @@ -357,7 +357,9 @@ while True: try: extraflags = expression.split("/")[3:] for i in extraflags: - if i.lower() == "g": + if i.strip() == "": + pass + elif i.lower() == "g": repeat = True elif i.strip().isdigit(): print(f"index = {int(i)}")