mirror of
https://github.com/jupyter/notebook.git
synced 2025-02-17 12:39:54 +08:00
Fix poor logic in manager.py
This commit is contained in:
parent
29279e21e7
commit
fa399450c4
@ -26,11 +26,11 @@ class ConfigManager(LoggingConfigurable):
|
||||
|
||||
def set(self, section_name, data):
|
||||
"""Set the config only to the user's config."""
|
||||
self.write_config_manager.set(section_name, data)
|
||||
return self.write_config_manager.set(section_name, data)
|
||||
|
||||
def update(self, section_name, new_data):
|
||||
"""Update the config only to the user's config."""
|
||||
self.write_config_manager.update(section_name, new_data)
|
||||
return self.write_config_manager.update(section_name, new_data)
|
||||
|
||||
# Private API
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user