We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 06286f9 commit b391d06Copy full SHA for b391d06
nikola/plugins/command/rst2html/__init__.py
@@ -62,6 +62,6 @@ def _execute(self, options, args):
62
html = b'<!DOCTYPE html>\n' + lxml.html.tostring(doc, encoding='utf8', method='html', pretty_print=True)
63
print(html)
64
if error_level < 3:
65
- return 0
+ exit(0)
66
else:
67
- return 1
+ exit(1)
0 commit comments