[mod] trailing spaces

This commit is contained in:
Laurent Peuch 2016-02-18 06:39:49 +01:00
parent a2ae29b5c7
commit 0ed6d47ef0

View File

@ -151,10 +151,10 @@ def main():
error(isinstance(settings, dict), "Your settings.yaml should be a dict") error(isinstance(settings, dict), "Your settings.yaml should be a dict")
error(settings.get("title"), "You should specify a title in your main settings.yaml") error(settings.get("title"), "You should specify a title in your main settings.yaml")
if settings.get("gm_settings"): if settings.get("gm_settings"):
gm_settings.update( settings.get("gm_settings") ) gm_settings.update( settings.get("gm_settings") )
front_page_galleries_cover = [] front_page_galleries_cover = []
dirs = filter(lambda x: x not in (".", "..") and os.path.isdir(x) and os.path.exists(os.path.join(os.getcwd(), x, "settings.yaml")), os.listdir(os.getcwd())) dirs = filter(lambda x: x not in (".", "..") and os.path.isdir(x) and os.path.exists(os.path.join(os.getcwd(), x, "settings.yaml")), os.listdir(os.getcwd()))