Skip to content

Commit

Permalink
Replace docstring \r\n with \n when generating classes from windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
T4rk1n committed Oct 18, 2018
1 parent 02eb3f2 commit 0cb4c5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dash/development/base_component.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ def __repr__(self):
component_name=typename,
props=filtered_props,
events=parse_events(props),
description=description)
description=description).replace('\r\n', '\n')

# pylint: disable=unused-variable
events = '[' + ', '.join(parse_events(props)) + ']'
Expand Down

0 comments on commit 0cb4c5d

Please sign in to comment.