Files
barker/frank/run_worker.py
Amritanshu 91b3740ec0 Bundle item has an option to not print in the bill.
Bills and Kots should print properly with bundles
2026-02-10 18:00:03 +00:00

10 lines
228 B
Python

import asyncio
from arq.worker import run_worker
from worker import WorkerSettings
# Create & set a loop BEFORE arq touches asyncio.get_event_loop()
asyncio.set_event_loop(asyncio.new_event_loop())
run_worker(WorkerSettings)