[mod] I don't need those
This commit is contained in:
parent
0b54c9ace1
commit
22bf22ba0d
@ -39,8 +39,6 @@ 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")
|
||||||
|
|
||||||
title = settings["title"]
|
|
||||||
sub_title = settings.get("sub_title", "")
|
|
||||||
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()))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user