[mod] TODO comments

This commit is contained in:
Laurent Peuch 2016-11-01 11:33:27 +01:00
parent 56bc9dfcc7
commit ac8fc9ff46

View File

@ -368,7 +368,8 @@ def build_gallery(settings, gallery_settings, gallery_path, template):
link=gallery_path
).encode("Utf-8"))
#Build light mode gallery
# XXX shouldn't this be a call to build_gallery?
# Build light mode gallery
if gallery_settings.get("light_mode", False) or (
settings["settings"].get("light_mode", False) and\
gallery_settings.get("light_mode") is None