Skip to content

Commit

Permalink
Use decode on file value
Browse files Browse the repository at this point in the history
  • Loading branch information
polsala committed Jan 18, 2022
1 parent 40209cf commit a248c56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bankbarcode/bankbarcode.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,4 @@ def svg(self, writer_options=None):
"""
f = BytesIO()
self.save(f, writer_options)
return f.getvalue()
return f.getvalue().decode('utf-8')

0 comments on commit a248c56

Please sign in to comment.