summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Goodman <wagoodman@gmail.com>2018-02-02 14:30:56 -0500
committerAlex Goodman <wagoodman@gmail.com>2018-02-02 14:30:56 -0500
commit0a6f8a5666e6df99ab90070514d5704fe2d8ba41 (patch)
treeb6965ceafe213ee3e8c734089545b590b658ebbb
parentd275b2b468fe3aab60cd1caaa00ff5d6fc4c1a88 (diff)
downloadwsdiff-0a6f8a5666e6df99ab90070514d5704fe2d8ba41.tar.gz
wsdiff-0a6f8a5666e6df99ab90070514d5704fe2d8ba41.tar.bz2
wsdiff-0a6f8a5666e6df99ab90070514d5704fe2d8ba41.zip
unicode issue
-rw-r--r--diff2HtmlCompare.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/diff2HtmlCompare.py b/diff2HtmlCompare.py
index e920e26..4dbdc67 100644
--- a/diff2HtmlCompare.py
+++ b/diff2HtmlCompare.py
@@ -238,7 +238,7 @@ class DiffHtmlFormatter(HtmlFormatter):
for t, line in inner:
if t:
lncount += 1
- dummyoutfile.write(line)
+ dummyoutfile.write(unicode(line))
fl = self.linenostart
mw = len(str(lncount + fl - 1))