main: do not spam bae group if task is not fulfillable
This commit is contained in:
parent
9ec684d345
commit
0b868e4154
5
main.py
5
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()
|
||||
|
Loading…
Reference in New Issue
Block a user