We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae7fc4c commit 681c3a3Copy full SHA for 681c3a3
1 file changed
src/omarchy_mcp/server.py
@@ -125,19 +125,6 @@ def theme_matches(theme: str, *args) -> bool:
125
return False
126
127
128
-def themes_contains(themes: list[str], *args) -> bool:
129
- """Check if themes contains any of the provided names (case-insensitive, partial match)."""
130
- sanitized_themes = {sanitize(t) for t in themes}
131
- for name in args:
132
- if not name:
133
- continue
134
- sanitized_name = sanitize(name)
135
- for sanitized_theme in sanitized_themes:
136
- if sanitized_name in sanitized_theme:
137
- return True
138
- return False
139
-
140
141
def find_matching_theme(existing_themes, name: str) -> Optional[str]:
142
"""Find a matching theme from existing_themes by name (case-insensitive, partial match)."""
143
if name in existing_themes:
0 commit comments