diff --git a/docker-compose.yml b/docker-compose.yml index c0b250e..83ea9a8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,6 +5,7 @@ services: - "8000:8000" volumes: - .:/app + - /app/.venv environment: - PYTHONUNBUFFERED=1 - PRELOAD_INTERLINEAR=true diff --git a/kjvstudy_org/routes/study_guides.py b/kjvstudy_org/routes/study_guides.py index dc00e37..bcc04b3 100644 --- a/kjvstudy_org/routes/study_guides.py +++ b/kjvstudy_org/routes/study_guides.py @@ -4,6 +4,7 @@ This module contains the study guides routes and content. """ from fastapi import APIRouter, Request, HTTPException from fastapi.responses import HTMLResponse +from ..kjv import bible router = APIRouter(tags=["Study Guides"]) @@ -19,7 +20,6 @@ def init_templates(app_templates): def get_books(): """Get list of Bible books.""" - from ..kjv import bible return list(bible.iter_books())