Merge pull request #38 from phaer/master

Include symlinked directories in PathsDB
This commit is contained in:
Simon Conseil
2013-09-28 06:42:55 -07:00

View File

@@ -96,7 +96,7 @@ class PathsDb(object):
}
# get information for each directory
for path, dirnames, filenames in os.walk(self.basepath):
for path, dirnames, filenames in os.walk(self.basepath, followlinks=True):
relpath = os.path.relpath(path, self.basepath)
# sort images and sub-albums by name