From 52d0cf2858a9c2ea79638cc6e09c2db17fea75c4 Mon Sep 17 00:00:00 2001 From: Edward Delaporte Date: Tue, 5 May 2026 17:12:53 -0500 Subject: [PATCH 1/1] Shorten visionless list --- matrix_goal_bot/db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrix_goal_bot/db.py b/matrix_goal_bot/db.py index 5056f55..9eabaf4 100644 --- a/matrix_goal_bot/db.py +++ b/matrix_goal_bot/db.py @@ -303,7 +303,7 @@ class Data(): def visionless(self): '''Get goals with no vision''' with Session(self.engine) as session: - cmd = select(Goal).where(Goal.vision_id == None) + cmd = select(Goal).where(Goal.vision_id == None).where(Goal.complete_date == None) return session.exec(cmd).all() -- 2.47.3