devve1 commited on
Commit
7d4a87a
1 Parent(s): bb51c01

Update ppt_chunker.py

Browse files
Files changed (1) hide show
  1. ppt_chunker.py +1 -0
ppt_chunker.py CHANGED
@@ -53,6 +53,7 @@ def ppt_chunk(filename, binary=None, from_page=0, to_page=100000,
53
  text_shapes = [shape for shape in slide.shapes if shape.has_text_frame]
54
  if len(text_shapes) == 1:
55
  metadata_main_title = text_shapes[0].text_frame.text
 
56
 
57
  d = copy.deepcopy(doc)
58
  slide_text = ppt_parser(slide)
 
53
  text_shapes = [shape for shape in slide.shapes if shape.has_text_frame]
54
  if len(text_shapes) == 1:
55
  metadata_main_title = text_shapes[0].text_frame.text
56
+ continue
57
 
58
  d = copy.deepcopy(doc)
59
  slide_text = ppt_parser(slide)