Gitlab migration complete. If you have any issue please read the FAQ.

Verified Commit a0209cc3 authored by Laurent Heirendt's avatar Laurent Heirendt
Browse files

add output

parent f58fd613
......@@ -59,7 +59,7 @@ index = ""
for d in dirs:
# set the header of the section
index += "\n### " + d.capitalize() + "\n"
index += "\n### " + d.replace("-", " ").capitalize() + "\n"
localIndexArr = ["\n"]
# walk through the folders with all the cards
......@@ -144,4 +144,6 @@ filedata = filedata.replace('[[ index ]]', index)
# Write the file out again
with open(indexFile, 'w') as file:
file.write(filedata)
\ No newline at end of file
file.write(filedata)
print("\n > New index generated and saved in " + indexFile)
\ No newline at end of file
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