Skip to content

Commit

Permalink
Update den defaults dictionary instead of copy
Browse files Browse the repository at this point in the history
  • Loading branch information
goanpeca committed Aug 3, 2021
1 parent 13a0b8a commit 79ea526
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jupyterlab_server/settings_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def _override(schema_name, schema, overrides):
new_defaults = schema['properties'][key]['default']
# If values for defaults are dicts do a recursive update
if isinstance(new_defaults, dict):
recursive_update(new_defaults.copy(), defaults[key])
recursive_update(new_defaults, defaults[key])
else:
new_defaults = defaults[key]

Expand Down

0 comments on commit 79ea526

Please sign in to comment.