소스 검색

shutil.copyfile -> shutil.copy

Valentin Niess 1 년 전
부모
커밋
223f35f757
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      python_appimage/utils/fs.py

+ 1 - 1
python_appimage/utils/fs.py

@@ -23,7 +23,7 @@ except ImportError:
                 or (os.path.getmtime(source) > os.path.getmtime(destination))
             )
         ):
-            shutil.copyfile(source, destination)
+            shutil.copy(source, destination)
 
 from .log import debug