mirror of
https://github.com/vladmandic/automatic
synced 2026-09-20 01:31:13 +02:00
follow symlinks
This commit is contained in:
+1
-1
@@ -733,7 +733,7 @@ def walk_files(path, allowed_extensions=None):
|
||||
return
|
||||
if allowed_extensions is not None:
|
||||
allowed_extensions = set(allowed_extensions)
|
||||
for root, _dirs, files in os.walk(path):
|
||||
for root, _dirs, files in os.walk(path, followlinks=True):
|
||||
for filename in files:
|
||||
if allowed_extensions is not None:
|
||||
_, ext = os.path.splitext(filename)
|
||||
|
||||
Reference in New Issue
Block a user