浏览代码

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