diff --git a/IPython/html/widgets/widget.py b/IPython/html/widgets/widget.py index 70a3e4f..e2f2a6e 100644 --- a/IPython/html/widgets/widget.py +++ b/IPython/html/widgets/widget.py @@ -361,7 +361,7 @@ class Widget(LoggingConfigurable): elif isinstance(x, string_types) and x.startswith('IPY_MODEL_') and x[10:] in Widget.widgets: # we want to support having child widgets at any level in a hierarchy # trusting that a widget UUID will not appear out in the wild - return Widget.widgets[x] + return Widget.widgets[x[10:]] else: return x