mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 22:28:24 +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
|
from importlib.resources import contents
|
||||||
ans = []
|
ans = []
|
||||||
for name in contents('kittens'):
|
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)
|
ans.append(name)
|
||||||
return frozenset(ans)
|
return frozenset(ans)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user