From a42032e4c837ce3c5c7dc861a0e7c3828829c0a2 Mon Sep 17 00:00:00 2001 From: Adam Fourney Date: Fri, 7 Mar 2025 15:23:19 -0800 Subject: [PATCH] Fixed formatting. --- .../markitdown/src/markitdown/converters/_pptx_converter.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/markitdown/src/markitdown/converters/_pptx_converter.py b/packages/markitdown/src/markitdown/converters/_pptx_converter.py index da81f75..a29c452 100644 --- a/packages/markitdown/src/markitdown/converters/_pptx_converter.py +++ b/packages/markitdown/src/markitdown/converters/_pptx_converter.py @@ -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)