Skip to content
Permalink
Browse files

[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 bd8b94aa5368278ec99f1dd9d1857436424037bd
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/gui/Postprocessing.py
@@ -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)

0 comments on commit bd8b94a

Please sign in to comment.
You can’t perform that action at this time.