Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/local/butler/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -497,4 +497,4 @@ def copy_if_newer(src, dst):
def update_dir(src_dir, dst_dir):
"""Recursively copy from src_dir to dst_dir, replacing files but only if
they're newer or don't exist."""
shutil.copytree(src_dir, dst_dir, copy_function=copy_if_newer)
shutil.copytree(src_dir, dst_dir, copy_function=copy_if_newer, dirs_exist_ok=True)
Loading