Skip to content
This repository has been archived by the owner on Jun 7, 2018. It is now read-only.

Commit

Permalink
Merge pull request #25 from wldcordeiro/master
Browse files Browse the repository at this point in the history
Updating to work with Python 3
  • Loading branch information
d0ugal committed Sep 9, 2014
2 parents b070d16 + 751d924 commit 6521f64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RstPreview.py
Expand Up @@ -55,7 +55,7 @@ def run(self, edit):
else:
preview_filename = 'rst_preview.html'
file_path = os.path.join(TEMP_DIR, preview_filename)
with open(file_path, 'w') as f:
with open(file_path, 'wb') as f:
f.write(html)

# Open the generated file in the default browser
Expand Down

0 comments on commit 6521f64

Please sign in to comment.