[mod] reduce indentation
This commit is contained in:
parent
9cbb1eca5e
commit
f54483b58c
@ -179,8 +179,7 @@ def main():
|
||||
|
||||
front_page_galleries_cover = reversed(sorted(front_page_galleries_cover, key=lambda x: x["date"]))
|
||||
|
||||
if settings.get('menu'):
|
||||
for item in settings["menu"]:
|
||||
for item in settings.get("menu", []):
|
||||
for link in item:
|
||||
item_file = link
|
||||
error(os.path.exists(os.path.join(os.getcwd(), item_file + ".yaml")), "I can't find a " + item_file + ".yaml in the current working directory")
|
||||
|
Loading…
x
Reference in New Issue
Block a user