Fix 'anon-view' KeyError (#724)

pull/714/head^2
glitsj16 2 years ago committed by GitHub
parent 9317d9217f
commit ca80bb0caa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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)

Loading…
Cancel
Save