Use title instead of capitalized for the categories #1
@ -26,7 +26,7 @@ def parse_comment_line(input_string):
|
|||||||
# Remove /* and */
|
# Remove /* and */
|
||||||
stripped_string = input_string[2:-3].strip()
|
stripped_string = input_string[2:-3].strip()
|
||||||
# Capitalize the string
|
# Capitalize the string
|
||||||
capitalized_string = stripped_string.capitalize()
|
capitalized_string = stripped_string.title()
|
||||||
return capitalized_string
|
return capitalized_string
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user