Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[processing] Avoid showing raw html tags when reporting that layers c…
…ould not be generated
  • Loading branch information
nyalldawson committed May 26, 2020
1 parent 3b0af96 commit bd8b94a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/gui/Postprocessing.py
Expand Up @@ -111,7 +111,7 @@ def handleAlgorithmResults(alg, context, feedback=None, showResults=True, parame

if wrongLayers:
msg = QCoreApplication.translate('Postprocessing', "The following layers were not correctly generated.")
msg += "<ul>" + "".join(["<li>%s</li>" % lay for lay in wrongLayers]) + "</ul>"
msg += "\n" + "\n".join(["• {}".format(lay) for lay in wrongLayers]) + '\n'
msg += QCoreApplication.translate('Postprocessing',
"You can check the 'Log Messages Panel' in QGIS main window to find more information about the execution of the algorithm.")
feedback.reportError(msg)
Expand Down

0 comments on commit bd8b94a

Please sign in to comment.