This commit is contained in:
aurinex
2025-12-01 16:48:22 +05:00
parent 70db9e8a3d
commit ca71883fe4
2 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ class CapeService:
cape_dir = Path("/app/static/capes")
cape_dir.mkdir(parents=True, exist_ok=True)
cape_filename = f"{username}_{int(datetime.now().timestamp())}"
cape_filename = f"{username}_{int(datetime.now().timestamp())}.{ext}"
cape_path = cape_dir / cape_filename
with open(cape_path, "wb") as f: