[mod] code lisibility
This commit is contained in:
parent
2dd49e5d73
commit
56bc9dfcc7
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user