Skip to content

Commit

Permalink
fix: add target_is_directory
Browse files Browse the repository at this point in the history
  • Loading branch information
F33RNI committed Feb 11, 2024
1 parent 2c8f7b4 commit aed9c6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion copy_entries.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ def copy_entries(
continue

# Create symlink
os.symlink(link_to, output_path_abs)
os.symlink(link_to, output_path_abs, target_is_directory=os.path.isdir(link_to))
with stats_created_symlinks_value.get_lock():
stats_created_symlinks_value.value += 1

Expand Down

0 comments on commit aed9c6d

Please sign in to comment.