fix a filesystem error

This commit is contained in:
mst 2025-03-01 02:59:14 +03:00
parent 0d208d09c7
commit bf80b8795c

View file

@ -443,6 +443,7 @@ def emoji(md):
def listEmojis() -> list:
emojis = []
emoji_base_path = Path.cwd() / 'static' / 'emojis'
os.makedirs(emoji_base_path, exist_ok=True)
# Iterate over files that are directly in the emoji base path (not in subdirectories)
for file in emoji_base_path.iterdir():