Use 29 lines per transcript page; rename ATTENDANCE to PERSONS IN DISCUSSION
Mirror and run GitLab CI / build (push) Has been cancelled
Ruff / ruff (push) Has been cancelled

This commit is contained in:
admin
2026-06-21 01:20:31 +00:00
parent 92fce4e126
commit f3392d80c6
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -457,7 +457,7 @@ def create_transcript_docx(text: str, filename: str, summary_text: str = ""):
"""
from . import docx_styles
# Step 1: Prepare transcript into pages of 30 lines each
# Step 1: Prepare transcript into pages of 29 lines each
prepared_pages = []
current_page = []
line_count = 0
@@ -485,9 +485,9 @@ def create_transcript_docx(text: str, filename: str, summary_text: str = ""):
if current:
segments.append(current)
# Add segments to pages, enforcing 30 lines per page
# Add segments to pages, enforcing 29 lines per page
for seg in segments:
if line_count == 30:
if line_count == 29:
prepared_pages.append(current_page)
current_page = []
line_count = 0