From 1091b6be83a270bda2b3314211bb5f08a2aab448 Mon Sep 17 00:00:00 2001 From: andrew Date: Fri, 20 Oct 2023 18:04:48 -0400 Subject: [PATCH] Don't insert keys into the config by mistake Should be a copy of the data --- OpenBench/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenBench/views.py b/OpenBench/views.py index 56d36fa..503b3ef 100644 --- a/OpenBench/views.py +++ b/OpenBench/views.py @@ -592,7 +592,7 @@ def client_get_build_info(request): data = {} for engine, config in OPENBENCH_CONFIG['engines'].items(): - data[engine] = config['build'] + data[engine] = config['build'].copy() data[engine]['private'] = config['private'] return JsonResponse(data)