mirror of
https://github.com/yihong0618/bilingual_book_maker.git
synced 2025-06-05 19:15:34 +00:00
fix --accumulated_num logic
This commit is contained in:
parent
d6e978c03d
commit
6195ede713
@ -214,6 +214,8 @@ class EPUBBookLoader(BaseBookLoader):
|
|||||||
or is_figure(temp_p.text)
|
or is_figure(temp_p.text)
|
||||||
or is_tail_Link(temp_p.text)
|
or is_tail_Link(temp_p.text)
|
||||||
):
|
):
|
||||||
|
if i == len(p_list) - 1:
|
||||||
|
self.helper.deal_old(wait_p_list)
|
||||||
continue
|
continue
|
||||||
length = num_tokens_from_text(temp_p.text)
|
length = num_tokens_from_text(temp_p.text)
|
||||||
if length > send_num:
|
if length > send_num:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user