diff --git a/backend/shared.py b/backend/shared.py index 6a66d49..4852480 100644 --- a/backend/shared.py +++ b/backend/shared.py @@ -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):