Quellcode durchsuchen

shutil.copyfile -> shutil.copy

Valentin Niess vor 1 Jahr
Ursprung
Commit
223f35f757
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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