File tree Expand file tree Collapse file tree
manga_translator/rendering Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7878 "colorizer" : " none"
7979 },
8080 "cli" : {
81- "verbose" : true ,
81+ "verbose" : false ,
8282 "attempts" : 2 ,
8383 "ignore_errors" : false ,
8484 "use_gpu" : true ,
Original file line number Diff line number Diff line change @@ -152,8 +152,8 @@ def generate_line_break_combinations(text: str):
152152 # Split first to check first segment length
153153 segments = re .split (pattern , text , flags = re .IGNORECASE )
154154
155- # Check skip condition: if first segment has < 2 chars and we're removing break 0
156- if 0 in combo and len (segments [0 ].strip ()) < 2 :
155+ # Check skip condition: if first segment has <= 2 chars and we're removing break 0
156+ if 0 in combo and len (segments [0 ].strip ()) <= 2 :
157157 skip_reason = "first_segment_too_short"
158158 combinations .append ((None , f"remove_{ combo } " , skip_reason ))
159159 continue
You can’t perform that action at this time.
0 commit comments