Skip to content

Commit a303ac7

Browse files
authored
Update build_directory_md.py
1 parent 0bd3409 commit a303ac7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/build_directory_md.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def print_directory_md(top_dir: str = ".") -> None:
3838
indent = (filepath.count(os.sep) + 1) if filepath else 0
3939
url = "/".join((URL_BASE, filepath, filename)).replace(" ", "%20")
4040
filename = os.path.splitext(filename.replace("_", " "))[0]
41-
print(f"{md_prefix(indent)} [{filename}]({url})")
41+
print(f"{md_prefix(indent)} [{filename}]({url})", end="")
4242

4343

4444
if __name__ == "__main__":

0 commit comments

Comments
 (0)