From aab06dc5ab2256fc23b95893727adf5ef6487d60 Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Tue, 8 Oct 2024 15:12:01 -0700 Subject: [PATCH] fix another --- app/dao/services_dao.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/dao/services_dao.py b/app/dao/services_dao.py index 93a8692df..0dfd1c36b 100644 --- a/app/dao/services_dao.py +++ b/app/dao/services_dao.py @@ -72,10 +72,10 @@ def get_services_by_partial_name(service_name): def dao_count_live_services(): stmt = select(Service).where( - Service.active, Service.count_as_live, Service.restricted is False + Service.active, Service.count_as_live, Service.restricted == False ) result = db.session.execute(stmt) - return result.scalars() + return result.scalar() # Retrieves the count def dao_fetch_live_services_data():