Fix Bible PDF import error

Corrected import to use OT_BOOKS and NT_BOOKS from utils.books
instead of non-existent bible_metadata module.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-11-28 16:29:00 -05:00
parent 2f1d192d7e
commit b3fd909b55
+3 -3
View File
@@ -2282,11 +2282,11 @@ async def bible_pdf(request: Request):
detail="PDF generation is not available. WeasyPrint system libraries are not installed."
)
from .data import bible_metadata
from .utils.books import OT_BOOKS, NT_BOOKS
books = bible.get_books()
old_testament = bible_metadata.old_testament_books
new_testament = bible_metadata.new_testament_books
old_testament = OT_BOOKS
new_testament = NT_BOOKS
# Prepare data for all books
books_data = []