Преглед изворни кода

shutil.copyfile -> shutil.copy

Valentin Niess пре 1 година
родитељ
комит
223f35f757
1 измењених фајлова са 1 додато и 1 уклоњено
  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))
                 or (os.path.getmtime(source) > os.path.getmtime(destination))
             )
             )
         ):
         ):
-            shutil.copyfile(source, destination)
+            shutil.copy(source, destination)
 
 
 from .log import debug
 from .log import debug