From 4d96e0dbf3c96ec19683c4e68c9e350302cb6da8 Mon Sep 17 00:00:00 2001 From: alexcjohnson Date: Tue, 26 Nov 2019 12:02:33 -0500 Subject: [PATCH] new line, new caps in children array error message --- dash/development/base_component.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dash/development/base_component.py b/dash/development/base_component.py index 4eb57810d9..3318a76d86 100644 --- a/dash/development/base_component.py +++ b/dash/development/base_component.py @@ -98,8 +98,8 @@ def __init__(self, **kwargs): if k != "children" and isinstance(v, Component): raise TypeError( "Component detected as a prop other than `children`\n" + - "Did you forget to wrap multiple `children` in an array?" + - "prop {} has value {}\n".format(k, repr(v)) + "Did you forget to wrap multiple `children` in an array?\n" + + "Prop {} has value {}\n".format(k, repr(v)) ) setattr(self, k, v)