Forgot to exclude modules
This commit is contained in:
parent
55e7f69768
commit
4cf73204a2
@ -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)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user