diff --git a/scraibe/email_sender.py b/scraibe/email_sender.py index 72b7db7..ad1d328 100644 --- a/scraibe/email_sender.py +++ b/scraibe/email_sender.py @@ -458,8 +458,8 @@ def create_transcript_docx(text: str, filename: str): current_page = [] line_count = 0 - # 48 chars content + 2 digits + 1 tab + 9 spaces = 60 max - MAX_CONTENT_LEN = 48 + # 52 chars content + 2 digits + 1 tab + 9 spaces = 64 max + MAX_CONTENT_LEN = 52 for raw_line in text.strip().splitlines(): raw_line = raw_line.strip() @@ -483,7 +483,7 @@ def create_transcript_docx(text: str, filename: str): # Add segments to pages, enforcing 29 lines per page for seg in segments: - if line_count == 29: + if line_count == 32: prepared_pages.append(current_page) current_page = [] line_count = 0