From 0b868e41542a8d4617069a8374c6880c83188987 Mon Sep 17 00:00:00 2001 From: lemoer Date: Fri, 27 Dec 2024 20:15:16 +0100 Subject: [PATCH] main: do not spam bae group if task is not fulfillable --- main.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/main.py b/main.py index 9c6cb47..f60fc4f 100644 --- a/main.py +++ b/main.py @@ -396,13 +396,10 @@ class LabCleaningBot: if is_err(reqs): if task not in unfulfillable_tasks: - res = self.send_to_base_group("Could not fulfill task: " + task.name) + print("Could not fulfill task: " + task.name) unfulfillable_tasks.append(task) - if is_err(res): - print(res.unwrap_err()) - reqs = reqs.unwrap_err() else: reqs = reqs.unwrap()