diff --git a/bootstrapvz/plugins/file_copy/tasks.py b/bootstrapvz/plugins/file_copy/tasks.py index 89345a8..484bdab 100644 --- a/bootstrapvz/plugins/file_copy/tasks.py +++ b/bootstrapvz/plugins/file_copy/tasks.py @@ -69,9 +69,4 @@ class FileCopyCommand(Task): else: shutil.copytree(src_path, final_destination) - if os.path.isfile(src_path) and os.path.isdir(final_destination): - dst = os.path.join(final_destination, os.path.basename(src_path)) - else: - dst = final_destination - modify_path(info, file_entry['dst'], file_entry)