Skip to content

Commit

Permalink
Fix 'anon-view' KeyError (#724)
Browse files Browse the repository at this point in the history
  • Loading branch information
glitsj16 authored Apr 18, 2022
1 parent 9317d92 commit ca80bb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/utils/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def append_anon_view(result: BeautifulSoup, config: Config) -> None:
translation = current_app.config['TRANSLATIONS'][
config.get_localization_lang()
]
av_link.string = f'{translation["anon-view"]}'
av_link.string = f'{translation["config-anon-view"]}'
av_link['class'] = 'anon-view'
result.append(av_link)

Expand Down

0 comments on commit ca80bb0

Please sign in to comment.