Fix symlink scanning

This commit is contained in:
catboxanon
2023-05-11 15:55:43 +00:00
parent 483545252f
commit cb3f8ff59f
2 changed files with 2 additions and 2 deletions

View File

@@ -741,7 +741,7 @@ def walk_files(path, allowed_extensions=None):
if allowed_extensions is not None:
allowed_extensions = set(allowed_extensions)
for root, _, files in os.walk(path):
for root, _, files in os.walk(path, followlinks=True):
for filename in files:
if allowed_extensions is not None:
_, ext = os.path.splitext(filename)