Don't insert keys into the config by mistake
Should be a copy of the data
This commit is contained in:
1 parent
5e62a4dc9c
commit
1091b6be83
1 file changed
+1
-1
+1
-1
@@ -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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user