diff --git a/backend/bookslm_routes.py b/backend/bookslm_routes.py index a0e4ec8..6b2e5bc 100644 --- a/backend/bookslm_routes.py +++ b/backend/bookslm_routes.py @@ -591,7 +591,7 @@ async def api_bookslm_agent( while True: try: kind, item = await asyncio.wait_for(queue.get(), timeout=0.25) - except asyncio.TimeoutError: + except TimeoutError: if run_task.done(): break continue