Skip to content

Commit ec5a280

Browse files
committed
add an 'r' to directory names in make_structure'
1 parent 1190c1e commit ec5a280

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

make_structure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def main():
3838
# Convert casing: "Example code" to "example-code"
3939
normalized_chapter_name = chapter_name.replace(' ', '-').lower()
4040
# Make directories
41-
dir_name = chapter_num.strip() + '-' + normalized_chapter_name.strip()
41+
dir_name = "r" + chapter_num.strip() + '-' + normalized_chapter_name.strip()
4242
subprocess.run(["mkdir", "-p", os.path.join(os.getcwd(), dir_name)])
4343
# Make README files
4444
subprocess.run(["touch", os.path.join(os.getcwd(), dir_name, "README.md")])

0 commit comments

Comments
 (0)