From 66d95bb9795f058e67a842a9ba25f7dc3dc0fe47 Mon Sep 17 00:00:00 2001 From: emkael Date: Wed, 9 Dec 2020 14:41:47 +0100 Subject: Printable Unicode characters python2 compatibility --- dealconvert/formats/html.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dealconvert/formats/html.py b/dealconvert/formats/html.py index c4325fd..4185c40 100644 --- a/dealconvert/formats/html.py +++ b/dealconvert/formats/html.py @@ -12,10 +12,10 @@ from .. import dto HTML_SUITS = OrderedDict([ - ('s', '\u2660'), - ('h', '\u2665'), - ('d', '\u2666'), - ('c', '\u2663') + ('s', u'\u2660'), + ('h', u'\u2665'), + ('d', u'\u2666'), + ('c', u'\u2663') ]) _page_template = ''' -- cgit v1.2.3