Skip to content
This repository has been archived by the owner on Mar 28, 2019. It is now read-only.

Commit

Permalink
Fix copy docs under Python3
Browse files Browse the repository at this point in the history
  • Loading branch information
leplatrem committed Nov 23, 2015
1 parent 7e265e7 commit d238769
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cliquet_docs/__init__.py
Expand Up @@ -11,5 +11,5 @@ def copy_docs(section, destination):
resource_file = '%s/%s' % (section, doc_name)
stream = pkg_resources.resource_stream('cliquet_docs', resource_file)
dest_filename = os.path.join(destination, doc_name)
with open(dest_filename, 'w') as f:
with open(dest_filename, 'wb') as f:
f.write(stream.read())

0 comments on commit d238769

Please sign in to comment.