fixing a lot of custom emojis

This commit is contained in:
Vladless
2026-02-11 19:54:17 +03:00
parent 472a099a8f
commit 2a68f8e36c
5 changed files with 56 additions and 507 deletions
+6 -3
View File
@@ -21,9 +21,12 @@ def list_installed_modules() -> list[tuple[str, str | None]]:
if not os.path.isdir(base):
return []
items: list[tuple[str, str | None]] = []
for name in sorted(os.listdir(base)):
path = os.path.join(base, name)
if os.path.isdir(path) and not name.startswith("."):
for raw_name in sorted(os.listdir(base)):
path = os.path.join(base, raw_name)
if os.path.isdir(path) and not raw_name.startswith("."):
name = (raw_name or "").strip()
if not name:
continue
ver = None
vp = os.path.join(path, "VERSION")
if os.path.isfile(vp):