개정판 a3d79d30
fix
Change-Id: I72a72b9f81a8b8d1ee6120fb30b4e89fda6b9b09
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 = None |
|
120 | 121 |
try: |
121 | 122 |
pdf_xml = parse(pdf_xml_path) |
122 | 123 |
except Exception as ex: |
123 | 124 |
pdf_xml_path = os.path.join(os.path.dirname(_file), os.path.splitext(os.path.basename(_file))[0] + '_Page1' + '.xml') |
125 |
pdf_xml = parse(pdf_xml_path) |
|
124 | 126 |
|
125 | 127 |
id2_xml_path = os.path.join(temp_path, matches[0]) |
126 | 128 |
id2_xml = parse(id2_xml_path) |
내보내기 Unified diff