Skip to content

Commit

Permalink
bugfix: adds missing return
Browse files Browse the repository at this point in the history
  • Loading branch information
CSchoel committed Aug 10, 2019
1 parent 7654225 commit 21b0c51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/src/svg2modelica.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ def autoset_line_color(self, el):
self.add_attribute("lineColor", lc)
def find_line_color(self, el):
att = get_style_attribute(el, "stroke")
self.attribute_value_to_color(att)
return self.attribute_value_to_color(att)
def attribute_value_to_color(self, att):
if att is None:
return None
Expand Down

0 comments on commit 21b0c51

Please sign in to comment.