Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion case_conversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def toggle_case(text, detectAcronyms, acronyms):
return to_snake_case(text, detectAcronyms, acronyms)
elif case == 'lower' and sep == '_':
return to_camel_case(text, detectAcronyms, acronyms)
elif case == 'camel' and not sep:
elif (case == 'camel' or case == 'lower') and not sep:
return to_pascal_case(text, detectAcronyms, acronyms)
else:
return text
Expand Down