Merge pull request #5306 from sliptonic/bug/4810

[PATH] fix #4810
This commit is contained in:
sliptonic
2022-01-03 09:48:07 -06:00
committed by GitHub

View File

@@ -40,6 +40,7 @@ from collections import Counter
from datetime import datetime
import os
import webbrowser
import subprocess
# Qt translation handling
@@ -464,7 +465,7 @@ class CommandPathSanity:
)
try:
result = os.system("asciidoctor {} -o {}".format(reportraw, reporthtml))
result = subprocess.run(["asciidoctor", reportraw, "-o", reporthtml])
if str(result) == "32512":
msg = "asciidoctor not found. html cannot be generated."
QtGui.QMessageBox.information(None, "Path Sanity", msg)