Skip to content

Commit

Permalink
fix: better variable name in python script
Browse files Browse the repository at this point in the history
  • Loading branch information
diraven committed Jan 12, 2024
1 parent 9472f7d commit 1b56fbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generators/workshops/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
data = yaml.load(yaml_file, Loader=yaml.SafeLoader)
for w in data["workshops"]:
with open(WORKSHOPS_PATH / f"{w['slug']}.md", "w") as file:
links = "\n".join([f"- {l}" for l in w.get("links", [])])
links = "\n".join([f"- {link}" for link in w.get("links", [])])
file.write(
f"""---
title: {w["title"]}
Expand Down

0 comments on commit 1b56fbc

Please sign in to comment.