From 410666c36bbff14fd025d1ed7e3bbac232665fb2 Mon Sep 17 00:00:00 2001 From: Kevin Hu Date: Mon, 24 Nov 2025 09:58:22 +0800 Subject: [PATCH] Update settings.py --- common/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/settings.py b/common/settings.py index 276ac3f49..9df0c0cd2 100644 --- a/common/settings.py +++ b/common/settings.py @@ -139,7 +139,7 @@ def _get_or_create_secret_key(): import logging new_key = secrets.token_hex(32) - logging.warning(f"SECURITY WARNING: Using auto-generated SECRET_KEY.") + logging.warning("SECURITY WARNING: Using auto-generated SECRET_KEY.") return new_key class StorageFactory: