aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Rossi <alexandre.rossi@gmail.com>2018-07-03 07:56:02 +0200
committerAlexandre Rossi <alexandre.rossi@gmail.com>2018-07-03 07:56:02 +0200
commit10908b342d3c7d6ab657ea282e871b7cd839716f (patch)
tree5ac4298d241ec5c5ed0921574775d9c769ad38be
parent28547748ac37d36b657dff9bb27d43cac98a51d8 (diff)
downloadlazygal-10908b342d3c7d6ab657ea282e871b7cd839716f.zip
lazygal-10908b342d3c7d6ab657ea282e871b7cd839716f.tar.bz2
fix crash on rebuild with --dir-flattening-depth (Debian Closes: #902764)
-rw-r--r--lazygal/generators.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lazygal/generators.py b/lazygal/generators.py
index ce25a4e..c397d55 100644
--- a/lazygal/generators.py
+++ b/lazygal/generators.py
@@ -580,7 +580,7 @@ class WebalbumDir(make.GroupTask):
elif self.source_dir.subdirs:
# As all subdirs are at the same level, if one should be flattened,
# all should.
- return self.subgals[0].should_be_flattened()
+ return self._init_subgals[0].should_be_flattened()
else:
return False