making the scanner follow symlinks

This commit is contained in:
jeremiahelroy
2014-04-01 00:48:08 -04:00
parent 95369e79a5
commit 5c89a52f23

View File

@@ -129,7 +129,7 @@ class Scanner(Plugin):
check_file_date = True
try:
files = []
for root, dirs, walk_files in scandir.walk(folder):
for root, dirs, walk_files in scandir.walk(folder, followlinks=True):
files.extend([sp(os.path.join(root, filename)) for filename in walk_files])
# Break if CP wants to shut down