Recursive slideshow does now follow symlinks

This commit is contained in:
Balthasar Reuter
2015-06-28 22:01:58 +02:00
parent 7693f9bf9c
commit 234d4bddb5

View File

@@ -46,7 +46,7 @@ class Slideshow:
if self.recursive:
# Recursively walk all entries in the directory
for root, dirnames, filenames in os.walk(self.directory):
for root, dirnames, filenames in os.walk(self.directory, followlinks=True):
for filename in filenames:
filelist.append(os.path.join(root, filename))
else: