From dd2921406f49de2cbc62c3a66674992331b543f1 Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Wed, 30 Oct 2024 14:22:08 -0700 Subject: [PATCH] fix more --- app/commands.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/commands.py b/app/commands.py index c88e2bcb3..b625df464 100644 --- a/app/commands.py +++ b/app/commands.py @@ -655,7 +655,8 @@ def populate_annual_billing_with_defaults(year, missing_services_only): AnnualBilling.financial_year_start == year, ), ) - .where(Service.active, AnnualBilling.id == None) # noqa + .where(Service.active) + .where(AnnualBilling.id == None) # noqa ) active_services = db.session.execute(stmt).scalars().all() else: