Fixed formatting.
This commit is contained in:
parent
3ac0acbb5d
commit
a42032e4c8
1 changed files with 3 additions and 3 deletions
|
|
@ -160,11 +160,11 @@ class PptxConverter(DocumentConverter):
|
|||
|
||||
# Group Shapes
|
||||
if shape.shape_type == pptx.enum.shapes.MSO_SHAPE_TYPE.GROUP:
|
||||
sorted_shapes = sorted(shape.shapes, key=attrgetter('top', 'left'))
|
||||
sorted_shapes = sorted(shape.shapes, key=attrgetter("top", "left"))
|
||||
for subshape in sorted_shapes:
|
||||
get_shape_content(subshape, **kwargs)
|
||||
|
||||
sorted_shapes = sorted(slide.shapes, key=attrgetter('top', 'left'))
|
||||
sorted_shapes = sorted(slide.shapes, key=attrgetter("top", "left"))
|
||||
for shape in sorted_shapes:
|
||||
get_shape_content(shape, **kwargs)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue