fix styles duplicate names

This commit is contained in:
Makadi
2025-03-07 12:46:48 +02:00
parent 09605104e6
commit fae8a7dcf1
+1 -1
View File
@@ -97,7 +97,7 @@ styles = get_yaml_names(os.path.join(project_dir, "styles"))
if allow_extra_styles:
more_styles = get_yaml_names(os.path.join(project_dir, "styles", "more examples"))
styles += more_styles
styles.extend(x for x in more_styles if x not in styles)
def read_styles(_yaml_data):
if not isinstance(_yaml_data, list):