summaryrefslogtreecommitdiff
path: root/src/tablib/formats/_html.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/tablib/formats/_html.py')
-rw-r--r--src/tablib/formats/_html.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/tablib/formats/_html.py b/src/tablib/formats/_html.py
index ac72bd6..952caf2 100644
--- a/src/tablib/formats/_html.py
+++ b/src/tablib/formats/_html.py
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-
""" Tablib - HTML export support.
"""
@@ -9,7 +7,6 @@ from io import BytesIO
from MarkupPy import markup
import tablib
-from tablib.compat import unicode
BOOK_ENDINGS = 'h3'
@@ -43,7 +40,7 @@ def export_set(dataset):
# Allow unicode characters in output
wrapper = codecs.getwriter("utf8")(stream)
- wrapper.writelines(unicode(page))
+ wrapper.writelines(str(page))
return stream.getvalue().decode('utf-8')