diff --git a/app/dao/services_dao.py b/app/dao/services_dao.py index 0dfd1c36b..9fdae8636 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 == 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():