From f1c8cb147ead653e72ebfedb6b02d26a3544bd74 Mon Sep 17 00:00:00 2001 From: glitsj16 Date: Fri, 15 Apr 2022 12:41:33 +0000 Subject: [PATCH] Fix 'anon-view' KeyError --- 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 cd1355040d..e77ba90399 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)