Skip to content

Commit 63c1c1c

Browse files
committed
Fix deprecated config override (config.Class may not yet exist)
1 parent 1c48b96 commit 63c1c1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

binderhub/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,7 @@ def _build_config_deprecated(self, change):
770770
self.log.warning(
771771
"BinderHub.%s is deprecated, use %s.%s", change.name, dest_cls, dest_name
772772
)
773-
self.config.get(dest_cls)[dest_name] = change.new
773+
self.config[dest_cls][dest_name] = change.new
774774

775775
@staticmethod
776776
def add_url_prefix(prefix, handlers):

0 commit comments

Comments
 (0)