We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae47c1a commit 744db2fCopy full SHA for 744db2f
python/plugins/processing/gui/Help2Html.py
@@ -57,8 +57,11 @@ def getHtmlFromRstFile(rst):
57
def getHtmlFromHelpFile(alg, helpFile):
58
if not os.path.exists(helpFile):
59
return None
60
- with open(helpFile) as f:
61
- descriptions = json.load(f)
+ try:
+ with open(helpFile) as f:
62
+ descriptions = json.load(f)
63
+ except:
64
+ return None
65
s = '<html><body><h2>Algorithm description</h2>\n'
66
s += '<p>' + getDescription(ALG_DESC, descriptions) + '</p>\n'
67
s += '<h2>Input parameters</h2>\n'
0 commit comments