Skip to content

Commit

Permalink
Fix using symlinks with --no-scan
Browse files Browse the repository at this point in the history
  • Loading branch information
gvbr committed Jan 17, 2022
1 parent 3e5fc21 commit 2f3b1b4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -936,6 +936,8 @@ def include_candidate(x: GameEntry) -> bool:
if full_path.is_file():
if curr_out_dir:
curr_out_dir.mkdir(parents=True, exist_ok=True)
if link:
curr_out_dir = curr_out_dir / file_name
transfer_file(full_path, curr_out_dir, move, link)
else:
printed_items.append(file_name)
Expand Down

0 comments on commit 2f3b1b4

Please sign in to comment.