diff options
author | Alex Goodman <wagoodman@gmail.com> | 2018-02-02 14:30:56 -0500 |
---|---|---|
committer | Alex Goodman <wagoodman@gmail.com> | 2018-02-02 14:30:56 -0500 |
commit | 0a6f8a5666e6df99ab90070514d5704fe2d8ba41 (patch) | |
tree | b6965ceafe213ee3e8c734089545b590b658ebbb /diff2HtmlCompare.py | |
parent | d275b2b468fe3aab60cd1caaa00ff5d6fc4c1a88 (diff) | |
download | wsdiff-0a6f8a5666e6df99ab90070514d5704fe2d8ba41.tar.gz wsdiff-0a6f8a5666e6df99ab90070514d5704fe2d8ba41.tar.bz2 wsdiff-0a6f8a5666e6df99ab90070514d5704fe2d8ba41.zip |
unicode issue
Diffstat (limited to 'diff2HtmlCompare.py')
-rw-r--r-- | diff2HtmlCompare.py | 2 |
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)) |