From 91ad98073644807b3ca28dfbc4395d28343a58b7 Mon Sep 17 00:00:00 2001 From: charludo Date: Tue, 10 Dec 2024 07:22:21 +0100 Subject: [PATCH] Fix sudden ruff complaint --- integreat_cms/core/wsgi.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integreat_cms/core/wsgi.py b/integreat_cms/core/wsgi.py index ab4a129d72..f4eca56600 100644 --- a/integreat_cms/core/wsgi.py +++ b/integreat_cms/core/wsgi.py @@ -40,9 +40,9 @@ def application(environ: dict[str, str], start_response: Callable) -> WSGIHandle os.environ.setdefault(f"INTEGREAT_CMS_{KEY.upper()}", VALUE) # Read config from environment - for key in environ: + for key, value in environ.items(): if key.startswith("INTEGREAT_CMS_"): - os.environ[key] = environ[key] + os.environ[key] = value _application = get_wsgi_application()