diff --git a/svg2tikz/tikz_export.py b/svg2tikz/tikz_export.py index 5ed801e..d20fc23 100644 --- a/svg2tikz/tikz_export.py +++ b/svg2tikz/tikz_export.py @@ -792,7 +792,11 @@ def style_to_tz(self, node=None): options = [] # Stroke and fill - for use_path in ([("fill", "text")] if node.TAG=="text" else [("stroke", "draw"), ("fill", "fill")]): + for use_path in ( + [("fill", "text")] + if node.TAG=="text" + else [("stroke", "draw"), ("fill", "fill")] + ): value = style.get(use_path[0]) if value != "none" and value is not None: options.append(