From 84e887265278a63db1db53ca4d0a1d15fb941a94 Mon Sep 17 00:00:00 2001 From: morpheus65535 Date: Mon, 25 Sep 2023 08:31:27 -0400 Subject: [PATCH] no log: fix Sonarr/Radarr test button bug introduced in previous commit --- bazarr/app/ui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bazarr/app/ui.py b/bazarr/app/ui.py index 85d820bd1..21c4894a7 100644 --- a/bazarr/app/ui.py +++ b/bazarr/app/ui.py @@ -169,7 +169,7 @@ def configured(): @ui_bp.route('/test', methods=['GET']) @ui_bp.route('/test//', methods=['GET']) def proxy(protocol, url): - if protocol.lower not in ['http', 'https']: + if protocol.lower() not in ['http', 'https']: return dict(status=False, error='Unsupported protocol') url = protocol + '://' + unquote(url) params = request.args