Skip to content

Commit

Permalink
new line, new caps in children array error message
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcjohnson committed Nov 26, 2019
1 parent 53a82b8 commit 4d96e0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dash/development/base_component.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4d96e0d

Please sign in to comment.