浏览代码

修复image_path的连接符

赵小蒙 1 年之前
父节点
当前提交
eb79c884c2
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      magic_pdf/para/para_split.py

+ 1 - 1
magic_pdf/para/para_split.py

@@ -15,7 +15,7 @@ TEXT = "text"
 def __get_span_text(span):
     c = span.get('content', '')
     if len(c)==0:
-        c = span.get('image-path', '')
+        c = span.get('image_path', '')
         
     return c