From a649becb63577b79317f8478b717a294e603a486 Mon Sep 17 00:00:00 2001 From: magmaus3 Date: Fri, 9 Jun 2023 14:49:07 +0200 Subject: [PATCH] fuck . --- iwm_browser/main.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/iwm_browser/main.py b/iwm_browser/main.py index 3ebd547..f3b45f1 100644 --- a/iwm_browser/main.py +++ b/iwm_browser/main.py @@ -40,10 +40,7 @@ template_env.globals["__version__"] = __version__ BASE_URL = utils.config_value("IWM_SERVER", "http://make.fangam.es") 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 = json.loads(utils.config_value("IMGPROXY_PARAMS", '''{ - "extension": "webp", - "advanced": ["q:50"], -}''')) # Set it to None to disable the proxy params +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", '{}')