diff --git a/app/routes.py b/app/routes.py index 378af6a..ee97ee9 100644 --- a/app/routes.py +++ b/app/routes.py @@ -464,7 +464,6 @@ def element(): try: cipher_suite = Fernet(g.session_key) src_url = cipher_suite.decrypt(element_url.encode()).decode() - print(src_url) except (InvalidSignature, InvalidToken) as e: return render_template( 'error.html', diff --git a/app/utils/results.py b/app/utils/results.py index cbc3fd1..70a3696 100644 --- a/app/utils/results.py +++ b/app/utils/results.py @@ -210,7 +210,7 @@ def append_anon_view(result: BeautifulSoup, config: Config) -> None: translation = current_app.config['TRANSLATIONS'][ config.get_localization_lang() ] - av_link.string = f'{translation["config-anon-view"]}' + av_link.string = f'{translation["anon-view"]}' av_link['class'] = 'anon-view' result.append(av_link)