diff --git a/box/box.py b/box/box.py index 8252643..f1d7840 100644 --- a/box/box.py +++ b/box/box.py @@ -233,7 +233,7 @@ def __new__( "box_recast": box_recast, "box_dots": box_dots, "box_dots_exclude": re.compile(box_dots_exclude) if box_dots_exclude else None, - "box_class": box_class if box_class is not None else Box, + "box_class": box_class if box_class is not None else cls, "box_namespace": box_namespace, } )