Skip to content

Commit 681c3a3

Browse files
committed
remove unused method
1 parent ae7fc4c commit 681c3a3

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

src/omarchy_mcp/server.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -125,19 +125,6 @@ def theme_matches(theme: str, *args) -> bool:
125125
return False
126126

127127

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-
141128
def find_matching_theme(existing_themes, name: str) -> Optional[str]:
142129
"""Find a matching theme from existing_themes by name (case-insensitive, partial match)."""
143130
if name in existing_themes:

0 commit comments

Comments
 (0)