Skip to content

Commit

Permalink
Properly encode output (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
znerol authored May 8, 2024
1 parent afc15ab commit 152f32e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spreadflow_confviz/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def run(self, args):
label = labels.get(n, self._strip_angle_brackets(str(n)))
dg.node(str(hash(n)), label=label, tooltip=tooltip)

print(dg.pipe(format='svg'), file=self._out)
print(dg.pipe(format='svg', encoding='utf-8'), file=self._out)
return 0

def main():
Expand Down

0 comments on commit 152f32e

Please sign in to comment.