From 79116c35e8efee2342838f11bf75638cbad4cad6 Mon Sep 17 00:00:00 2001 From: phaer Date: Fri, 27 Sep 2013 19:43:10 +0300 Subject: [PATCH] Include symlinked directories in PathsDB --- sigal/gallery.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sigal/gallery.py b/sigal/gallery.py index 1232154..2b4b9a7 100644 --- a/sigal/gallery.py +++ b/sigal/gallery.py @@ -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