From 56bc9dfcc7d2e63aa5c384e0f52ce076bf4c8f45 Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Tue, 1 Nov 2016 11:27:19 +0100 Subject: [PATCH] [mod] code lisibility --- prosopopee/prosopopee.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/prosopopee/prosopopee.py b/prosopopee/prosopopee.py index 7eab268..af76150 100644 --- a/prosopopee/prosopopee.py +++ b/prosopopee/prosopopee.py @@ -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")