Sfoglia il codice sorgente

shutil.copyfile -> shutil.copy

Valentin Niess 1 anno fa
parent
commit
223f35f757
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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