diff --git a/kallithea/lib/helpers.py b/kallithea/lib/helpers.py --- a/kallithea/lib/helpers.py +++ b/kallithea/lib/helpers.py @@ -162,7 +162,7 @@ class CodeHtmlFormatter(HtmlFormatter): My code Html Formatter for source codes """ - def wrap(self, source, outfile): + def wrap(self, source, outfile=None): return self._wrap_div(self._wrap_pre(self._wrap_code(source))) def _wrap_code(self, source):