Skip to content
Permalink
Browse files

[processing] fix html in error handler text

  • Loading branch information
alexbruy committed Aug 28, 2013
1 parent 9416aca commit 7b61e5202f98518734eb63efc57c3da72474b2c9
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/plugins/processing/core/GeoAlgorithm.py
@@ -149,7 +149,7 @@ def execute(self, progress):
self.runPreExecutionScript(progress)
self.processAlgorithm(progress)
self.convertUnsupportedFormats(progress)
self.runPostExecutionScript(progress)
self.runPostExecutionScript(progress)
except GeoAlgorithmExecutionException, gaee:
ProcessingLog.addToLog(ProcessingLog.LOG_ERROR, gaee.msg)
raise gaee
@@ -423,7 +423,7 @@ def getPostProcessingErrorMessage(self, wrongLayers):

html ="<p>Oooops! The following output layers could not be open</p><ul>\n"
for layer in wrongLayers:
html += '<li>' + layer.description + ': <font size=3 face="Courier New" color="ff0000">' + layer.value + "</font></li>\n"
html += '<li>' + layer.description + ': <font size=3 face="Courier New" color="#ff0000">' + layer.value + "</font></li>\n"
html +="</ul><p>The above files could not be opened, which probably indicates that they were not correctly produced by the executed algorithm</p>"
html +="<p>Checking the log information might help you see why those layers were not created as expected</p>"
return html

0 comments on commit 7b61e52

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