mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-06 01:05:48 +02:00
Forgot to exclude modules
This commit is contained in:
@@ -126,7 +126,7 @@ def all_kitten_names() -> FrozenSet[str]:
|
||||
from importlib.resources import contents
|
||||
ans = []
|
||||
for name in contents('kittens'):
|
||||
if '__' not in name and name != 'tui':
|
||||
if '__' not in name and '.' not in name and name != 'tui':
|
||||
ans.append(name)
|
||||
return frozenset(ans)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user