From 223f35f757f7b41aa3f58b884cb743d36538f24e Mon Sep 17 00:00:00 2001 From: Valentin Niess Date: Fri, 11 Oct 2024 11:13:40 +0200 Subject: [PATCH] shutil.copyfile -> shutil.copy --- python_appimage/utils/fs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python_appimage/utils/fs.py b/python_appimage/utils/fs.py index 5e6ec85..4cee4ac 100644 --- a/python_appimage/utils/fs.py +++ b/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