Jelajahi Sumber

shutil.copyfile -> shutil.copy

Valentin Niess 1 tahun lalu
induk
melakukan
223f35f757
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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