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