Skip to content

Commit 6ffa043

Browse files
Update build_directory_md.py
1 parent 69c92c9 commit 6ffa043

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
@@ -31,7 +31,7 @@ def md_prefix(indent: int) -> str:
3131
>>> md_prefix(3)
3232
' *'
3333
"""
34-
return f"{indent * ' '}*" if i else "\n##"
34+
return f"{indent * ' '}*" if indent else "\n##"
3535

3636

3737
def print_path(old_path: str, new_path: str) -> str:

0 commit comments

Comments
 (0)