Skip to content

Commit

Permalink
remove invalid format specifier
Browse files Browse the repository at this point in the history
  • Loading branch information
sloria committed Dec 15, 2023
1 parent 0ad31db commit 0bbbba4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion environs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def method(
source_key = proxied_key or parsed_key
if value is ma.missing:
if self.eager:
raise EnvError(f'Environment variable "{proxied_key or parsed_key:!r}" not set')
raise EnvError(f'Environment variable "{proxied_key or parsed_key}" not set')
else:
self._errors[parsed_key].append("Environment variable not set.")
return None
Expand Down

0 comments on commit 0bbbba4

Please sign in to comment.