Skip to content

Commit

Permalink
Fix exception text in link formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
AMDmi3 committed Jul 18, 2024
1 parent ba7a251 commit 9a194da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repology/linkformatter.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def __getitem__(self, key: str) -> str:
elif isinstance(value, str):
for filtername in filters:
if filtername not in _FILTERS:
raise RuntimeError(f'unknown filter "filtername" in "{field}"')
raise RuntimeError(f'unknown filter "{filtername}" in "{field}"')
value = _FILTERS[filtername](value)

self._fields[key] = [value]
Expand Down

0 comments on commit 9a194da

Please sign in to comment.