Skip to content

Commit

Permalink
fix: check if path is symlink
Browse files Browse the repository at this point in the history
  • Loading branch information
F33RNI committed Jan 25, 2024
1 parent 584ee34 commit 07ba338
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tree_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def tree_parser(
while True:
# Try to get next path
try:
dir_or_file = next(parent_dir_abs_generator).is_symlink
dir_or_file = next(parent_dir_abs_generator)

# No more paths -> exit
except StopIteration:
Expand Down

0 comments on commit 07ba338

Please sign in to comment.