fix: jpgs

Signed-off-by: yihong0618 <zouzou0208@gmail.com>
This commit is contained in:
yihong0618
2024-07-05 14:38:06 +08:00
parent 7c9ffb2287
commit 89b619da3b
11 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ import re
from . import *
def split_lines(text, max_length=18):
def split_lines(text, max_length=30):
def split_line(line):
punctuation = r"[,.!?;,。!?;]"
parts = re.split(f"({punctuation})", line)