aboutsummaryrefslogtreecommitdiff
path: root/describe.py
diff options
context:
space:
mode:
Diffstat (limited to 'describe.py')
-rw-r--r--describe.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/describe.py b/describe.py
index 87dcd0c83..b2bcc6d64 100644
--- a/describe.py
+++ b/describe.py
@@ -301,7 +301,7 @@ def document_collection_recursive(resource, path, root_discovery, discovery):
html = document_collection(resource, path, root_discovery, discovery)
f = open(os.path.join(BASE, path + 'html'), 'w')
- f.write(html)
+ f.write(html.encode('utf-8'))
f.close()
for name in dir(resource):