From ef2e9791e8435afbee29de27fb9823907152d97b Mon Sep 17 00:00:00 2001 From: winet Date: Sat, 9 Mar 2024 23:19:52 +1000 Subject: [PATCH] fixed filter --- app/blueprints/api/tasks/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/blueprints/api/tasks/tasks.py b/app/blueprints/api/tasks/tasks.py index 3722ab8..224e97f 100644 --- a/app/blueprints/api/tasks/tasks.py +++ b/app/blueprints/api/tasks/tasks.py @@ -55,7 +55,7 @@ def parse_users_task(self, task_id: int): ) for user in users: - if not user.username and user.bot: + if not user.username or user.bot: continue is_active = False