Skip to content

Commit c0e3917

Browse files
author
Kevin Hannegan
committed
update get_configuration
1 parent 8461d73 commit c0e3917

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

presalytics/lib/themes/ooxml.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def get_configuration(self):
4242
colors = {k: v for k, v in theme.colors.to_dict().items() if k not in extra_params}
4343
fonts = {k: v for k, v in theme.fonts.to_dict().items() if k not in extra_params}
4444
slide_details = client.ooxml_automation.slides_slides_details_get_id(theme.slide_id)
45-
color_map_dict = slide_details.slide_master["colorMap"]
45+
color_map_dict = slide_details.slide_master.to_dict()["color_map"]
4646
color_types = client.ooxml_automation.shared_colortypes_get()
4747

4848
mapped_colors = {

0 commit comments

Comments
 (0)