Browse Source

deploy-ng: fix typo in copyfile call

rdb 8 years ago
parent
commit
6ec4e5db68
1 changed files with 1 additions and 1 deletions
  1. 1 1
      direct/src/showutil/dist.py

+ 1 - 1
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?