Explorar o código

shutil.copyfile -> shutil.copy

Valentin Niess hai 1 ano
pai
achega
223f35f757
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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