Commit 78a3f7cb by Piotr Mitros

README has newlines

parent eacdc1ba
...@@ -26,13 +26,14 @@ commands = commands.format(shortname = settings["short-name"], ...@@ -26,13 +26,14 @@ commands = commands.format(shortname = settings["short-name"],
github = settings["github"]) github = settings["github"])
readme = open("README.md", "w") readme = open("README.md", "w")
readme.writelines(["{Shortname}XBlock".format(Shortname = settings["short-name"].capitalize()), readme.write("\n".join(["{Shortname}XBlock".format(Shortname = settings["short-name"].capitalize()),
"==============", "==============",
"", "",
settings["description"], settings["description"],
"", "",
settings["overview"]]) settings["overview"]]))
readme.close()
for command in commands.split("\n"): for command in commands.split("\n"):
if len(command) > 0: if len(command) > 0:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment