aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mammoth/conversion.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/mammoth/conversion.py b/mammoth/conversion.py
index 0eb3ccc..922626c 100644
--- a/mammoth/conversion.py
+++ b/mammoth/conversion.py
@@ -1,8 +1,9 @@
# coding=utf-8
+from __future__ import unicode_literals
+
import base64
import random
-import sys
from . import documents, results, html_paths, images
from .html_generation import HtmlGenerator, satisfy_html_path
@@ -221,5 +222,3 @@ def _document_matcher_matches(matcher, element, element_type):
)
_up_arrow = "↑"
-if sys.version_info[0] < 3:
- _up_arrow = _up_arrow.decode("utf8")