From ca80bb0caa2fd3e1499f3d2ae40ee3bdc97c37ea Mon Sep 17 00:00:00 2001 From: glitsj16 Date: Mon, 18 Apr 2022 18:45:20 +0000 Subject: [PATCH] Fix 'anon-view' KeyError (#724) --- app/utils/results.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/utils/results.py b/app/utils/results.py index cd13550..e77ba90 100644 --- a/app/utils/results.py +++ b/app/utils/results.py @@ -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)