97309afa by chenyao

修改个fsm电子合同的bug

1 parent c06bbf34
......@@ -209,7 +209,8 @@ class Retriever:
if pno_str == '-1':
is_last_pno = True
pno_int_list = [int(pno_str) for pno_str in pdf_text_list.keys()]
pno_str = str(max(pno_int_list))
if len(pno_int_list) > 0:
pno_str = str(max(pno_int_list))
# 搜索关键词
key_text_info = dict()
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!