summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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))