fix: windows hates shutil.copy
This commit is contained in:
@@ -222,7 +222,7 @@ class Scraper(ClientSession):
|
|||||||
|
|
||||||
# 임시로 받은 파일 옮기기
|
# 임시로 받은 파일 옮기기
|
||||||
if not saved_path.exists():
|
if not saved_path.exists():
|
||||||
shutil.copyfile(temp_file.name, saved_path)
|
shutil.copy2(temp_file.name, saved_path)
|
||||||
|
|
||||||
return attachment
|
return attachment
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user