File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -250,9 +250,9 @@ def extract_text_elements(layout: LTContainer) -> Iterator[LTTextBox]:
250250 raise CASParseError (
251251 "pdfminer does not support this file type. Install pymupdf dependency"
252252 )
253- # if investor_info is None:
254- # if file_type in (FileType.CAMS, FileType.KFINTECH):
255- # investor_info = parse_investor_info_mf(text_elements, *page.mediabox[2:])
253+ if investor_info is None :
254+ if file_type in (FileType .CAMS , FileType .KFINTECH ):
255+ investor_info = parse_investor_info_mf (text_elements , * page .mediabox [2 :])
256256 # elif file_type in (FileType.NSDL, FileType.CDSL) and page_num == 1:
257257 # investor_info = parse_investor_info_nsdl(text_elements, *page.mediabox[2:])
258258 # if file_type == FileType.NSDL and page_num == 0:
You can’t perform that action at this time.
0 commit comments