개정판 62476899
fix
Change-Id: I0aa575a5059d374d40f94c4008ca96a11552da16
DTI_PID/DTI_PID/ImportTextFromPDFDialog.py | ||
---|---|---|
117 | 117 |
|
118 | 118 |
symbol_areas = [] |
119 | 119 |
pdf_xml_path = os.path.join(os.path.dirname(_file), os.path.splitext(os.path.basename(_file))[0] + '.xml') |
120 |
pdf_xml = parse(pdf_xml_path) |
|
120 |
try: |
|
121 |
pdf_xml = parse(pdf_xml_path) |
|
122 |
except Exception as ex: |
|
123 |
pdf_xml_path = os.path.join(os.path.dirname(_file), os.path.splitext(os.path.basename(_file))[0] + '_Page1' + '.xml') |
|
121 | 124 |
|
122 | 125 |
id2_xml_path = os.path.join(temp_path, matches[0]) |
123 | 126 |
id2_xml = parse(id2_xml_path) |
내보내기 Unified diff