From 59772371a7bdb3d3636fe36681ce03598552b06c Mon Sep 17 00:00:00 2001 From: Sangha Lee Date: Mon, 4 Aug 2025 14:59:55 +0900 Subject: [PATCH] fix: windows hates shutil.copy --- utils/scraper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/scraper.py b/utils/scraper.py index 39e96dc..e32dcd8 100644 --- a/utils/scraper.py +++ b/utils/scraper.py @@ -222,7 +222,7 @@ class Scraper(ClientSession): # 임시로 받은 파일 옮기기 if not saved_path.exists(): - shutil.copyfile(temp_file.name, saved_path) + shutil.copy2(temp_file.name, saved_path) return attachment