mirror of
https://codeberg.org/catask-org/catask.git
synced 2025-04-18 12:53:42 -05:00
fix name overlap
This commit is contained in:
parent
264f5025a1
commit
afc89777fb
1 changed files with 6 additions and 6 deletions
12
functions.py
12
functions.py
|
@ -720,15 +720,15 @@ def createExport() -> dict:
|
|||
emojis_dir = Path('static/emojis')
|
||||
|
||||
if favicon_dir.exists():
|
||||
for root, _, files in os.walk(favicon_dir):
|
||||
for file in files:
|
||||
file_path = Path(root) / file
|
||||
for root, unused, files in os.walk(favicon_dir):
|
||||
for file_ in files:
|
||||
file_path = Path(root) / file_
|
||||
export_zip.write(file_path, arcname=file_path.relative_to(favicon_dir.parent.parent))
|
||||
|
||||
if emojis_dir.exists():
|
||||
for root, _, files in os.walk(emojis_dir):
|
||||
for file in files:
|
||||
file_path = Path(root) / file
|
||||
for root, unused, files in os.walk(emojis_dir):
|
||||
for file_ in files:
|
||||
file_path = Path(root) / file_
|
||||
export_zip.write(file_path, arcname=file_path.relative_to(emojis_dir.parent))
|
||||
|
||||
# Record export metadata
|
||||
|
|
Loading…
Add table
Reference in a new issue