fix name overlap

This commit is contained in:
mst 2025-03-19 13:36:16 +03:00
parent 264f5025a1
commit afc89777fb
No known key found for this signature in database

View file

@ -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