Update 2025-12-19 19:18:16

This commit is contained in:
unknown
2025-12-19 19:18:16 +09:00
parent b18412ecb2
commit b37c43ab86
19 changed files with 7629 additions and 89 deletions

View File

@@ -207,13 +207,13 @@ def delete_file(filename: str):
if file_path.exists():
try:
file_path.unlink()
flash(f"{filename} 삭제됨.")
flash(f"'{filename}' 파일이 삭제되었습니다.", "success")
logging.info(f"파일 삭제됨: {filename}")
except Exception as e:
logging.error(f"파일 삭제 오류: {e}")
flash("파일 삭제 중 오류가 발생했습니다.", "danger")
else:
flash("파일이 존재하지 않습니다.")
flash("파일이 존재하지 않습니다.", "warning")
return redirect(url_for("main.index"))