From 21b0c51510bfd07991d1b23db29c2527f7d440da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christopher=20Sch=C3=B6lzel?= Date: Sat, 10 Aug 2019 19:14:03 +0200 Subject: [PATCH] bugfix: adds missing return --- python/src/svg2modelica.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/src/svg2modelica.py b/python/src/svg2modelica.py index 526d453..14cf1eb 100644 --- a/python/src/svg2modelica.py +++ b/python/src/svg2modelica.py @@ -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