From e5405e333f9934b4f8d99cc6a0ad6849259d3b40 Mon Sep 17 00:00:00 2001 From: Franz Song Date: Sat, 3 Aug 2024 19:46:20 +0800 Subject: [PATCH] fix compatibility with python3 --- diff2HtmlCompare.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/diff2HtmlCompare.py b/diff2HtmlCompare.py index 644ce93..e730bb4 100644 --- a/diff2HtmlCompare.py +++ b/diff2HtmlCompare.py @@ -145,7 +145,7 @@ def __init__(self, isLeft, diffs, *args, **kwargs): self.diffs = diffs super(DiffHtmlFormatter, self).__init__(*args, **kwargs) - def wrap(self, source, outfile): + def wrap(self, source, outfile=None): return self._wrap_code(source) def getDiffLineNos(self):