From 5f1960c3fdb96ec66ba47df8a85e20fe9f9bb114 Mon Sep 17 00:00:00 2001 From: magmaus3 Date: Mon, 10 Jul 2023 13:05:59 +0200 Subject: [PATCH] Fix a bug where users couldn't connect if no proxies are set --- iwm_browser/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iwm_browser/main.py b/iwm_browser/main.py index e27485d..6752317 100644 --- a/iwm_browser/main.py +++ b/iwm_browser/main.py @@ -42,7 +42,7 @@ THUMB_URL = utils.config_value("IWM_THUMBNAILS", "https://images.make.fangam.es" utils.global_imgproxy_url = utils.config_value("IMGPROXY_URL", None) utils.global_imgproxy_params = utils.config_value("IMGPROXY_PARAMS", {"extension": "webp", "advanced": ["q:50"]}) # Set it to None to disable the proxy params -PROXIES = utils.config_value("HTTP_PROXIES", '{}') +PROXIES = utils.config_value("HTTP_PROXIES", {}) # Matches level code. # \S[A-Z0-9]{4}\-[A-Z0-9]{4} = With dash, no whitespace