Skip to content

Commit

Permalink
Removed capitalize() call from use_case str, as this also lowercases …
Browse files Browse the repository at this point in the history
…intentionally uppercase letters later in the string
  • Loading branch information
timbernat committed Jan 3, 2025
1 parent 81401ce commit 3d143bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion polymerist/genutils/importutils/dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def __init__(self,
dependency_name_formal = dependency_name

message = f'''
{use_case.capitalize()} require(s) {dependency_name_formal}, which was not found in the current environment
{use_case} require(s) {dependency_name_formal}, which was not found in the current environment
Please install `{dependency_name}` by following the installation instructions at {install_link}
Then try importing from "{importing_package_name}" again'''

Expand Down

0 comments on commit 3d143bd

Please sign in to comment.