fix another

This commit is contained in:
Kenneth Kehl
2024-10-08 15:16:04 -07:00
parent aab06dc5ab
commit 6fc889db04

View File

@@ -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 == False
Service.active, Service.count_as_live, Service.restricted == False # noqa
)
result = db.session.execute(stmt)
return result.scalar() # Retrieves the count
return result.scalar() # Retrieves the count
def dao_fetch_live_services_data():