Skip to content

Commit

Permalink
Fixed py3 bug on Renderer.export_widgets
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Apr 13, 2017
1 parent 8ab7e4d commit 06ec5c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion holoviews/plotting/renderer.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ def export_widgets(self_or_cls, obj, filename, fmt=None, template=None,
filename.write(encoded)
filename.seek(0)
else:
with open(filename, 'w') as f:
with open(filename, 'wb') as f:
f.write(encoded)


Expand Down

0 comments on commit 06ec5c6

Please sign in to comment.