修改个fsm电子合同的bug
Showing
1 changed file
with
2 additions
and
1 deletions
| ... | @@ -209,7 +209,8 @@ class Retriever: | ... | @@ -209,7 +209,8 @@ class Retriever: |
| 209 | if pno_str == '-1': | 209 | if pno_str == '-1': |
| 210 | is_last_pno = True | 210 | is_last_pno = True |
| 211 | pno_int_list = [int(pno_str) for pno_str in pdf_text_list.keys()] | 211 | pno_int_list = [int(pno_str) for pno_str in pdf_text_list.keys()] |
| 212 | pno_str = str(max(pno_int_list)) | 212 | if len(pno_int_list) > 0: |
| 213 | pno_str = str(max(pno_int_list)) | ||
| 213 | 214 | ||
| 214 | # 搜索关键词 | 215 | # 搜索关键词 |
| 215 | key_text_info = dict() | 216 | key_text_info = dict() | ... | ... |
-
Please register or sign in to post a comment