diff --git a/barker/barker/printing/bill.py b/barker/barker/printing/bill.py index db54d6b..765796d 100644 --- a/barker/barker/printing/bill.py +++ b/barker/barker/printing/bill.py @@ -47,7 +47,7 @@ def print_bill(voucher_id: uuid.UUID, db: Session): loop = asyncio.new_event_loop() redis: ArqRedis = loop.run_until_complete(create_pool(redis_settings)) - if len(bills > 1): + if len(bills) > 1: total = design_total(voucher, regimes, db) loop.run_until_complete( redis.enqueue_job(