diff options
| author | Michael Williamson <mike@zwobble.org> | 2015-01-25 19:20:34 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2015-01-25 19:20:34 +0000 |
| commit | a360df2f5067e4ae125b5a897c934c4f21958a9f (patch) | |
| tree | 22f644a0153de71c9aad98e99baab10c6ecaa051 /mammoth | |
| parent | 78417af12c3eed024223d7564e7391fa73b556f7 (diff) | |
Use unicode_literals to avoid switching on Python version
Diffstat (limited to 'mammoth')
| -rw-r--r-- | mammoth/conversion.py | 5 |
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") |
