@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user