From 5be071eb595e776dd146b4432b5c154608c7afb8 Mon Sep 17 00:00:00 2001 From: Swee Date: Sat, 12 Oct 2024 14:44:59 -0700 Subject: [PATCH] Update sweebot.py --- sweebot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sweebot.py b/sweebot.py index 0687e97..2cd8ce1 100644 --- a/sweebot.py +++ b/sweebot.py @@ -495,7 +495,7 @@ while True: for i in command[2:]: if i == "clear": flag = ["+config"] - if i[0] == "+": + elif i[0] == "+": if "-" + i[1:] in flag: flag[flag.index("-" + i[1:])] = i else: