Browse Source

making the scanner follow symlinks

pull/3052/head
jeremiahelroy 11 years ago
parent
commit
5c89a52f23
  1. 2
      couchpotato/core/plugins/scanner.py

2
couchpotato/core/plugins/scanner.py

@ -129,7 +129,7 @@ class Scanner(Plugin):
check_file_date = True check_file_date = True
try: try:
files = [] 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]) files.extend([sp(os.path.join(root, filename)) for filename in walk_files])
# Break if CP wants to shut down # Break if CP wants to shut down

Loading…
Cancel
Save