Pārlūkot izejas kodu

修复image_path的连接符

赵小蒙 1 gadu atpakaļ
vecāks
revīzija
eb79c884c2
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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