deploy-ng: fix typo in copyfile call

This commit is contained in:
rdb 2017-11-22 19:28:08 +01:00
parent 37572b312c
commit 6ec4e5db68

View File

@ -424,7 +424,7 @@ class build_apps(distutils.core.Command):
fp = io.BytesIO(data)
else:
# Regular file, copy it
shutil.copy_file(source_path, target_path)
shutil.copyfile(source_path, target_path)
fp = open(target_path, 'rb')
# What kind of magic does the file contain?