mirror of
https://codeberg.org/catask-org/catask.git
synced 2025-04-19 13:23:41 -05:00
fix a filesystem error
This commit is contained in:
parent
0d208d09c7
commit
bf80b8795c
1 changed files with 1 additions and 0 deletions
|
@ -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():
|
||||
|
|
Loading…
Add table
Reference in a new issue