[mod] code lisibility

This commit is contained in:
Laurent Peuch 2016-11-01 11:27:19 +01:00
parent 2dd49e5d73
commit 56bc9dfcc7

View File

@ -370,7 +370,10 @@ def build_gallery(settings, gallery_settings, gallery_path, template):
#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):
settings["settings"].get("light_mode", False) and\
gallery_settings.get("light_mode") is None
):
# Prepare light mode
Path("build").joinpath(gallery_path, "light").makedirs_p()
gallery_light_path = Path(gallery_path).joinpath("light")