diff --git a/direct/src/showutil/dist.py b/direct/src/showutil/dist.py index 3cbda27090..d2c21ee0b2 100644 --- a/direct/src/showutil/dist.py +++ b/direct/src/showutil/dist.py @@ -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?