fixed impress examples

This commit is contained in:
tsuky_chen
2024-02-28 21:12:10 +08:00
parent b61984a5ca
commit cb18d6e52a
6 changed files with 16 additions and 15 deletions

View File

@@ -165,6 +165,7 @@ def compare_pptx_files(file1_path, file2_path, **options):
# compare the content of each slide
for slide1, slide2 in zip(prs1.slides, prs2.slides):
slide_idx += 1
print(slide_idx)
def get_slide_background_color(slide):
background = slide.background
if background.fill.background():