mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
[processing] Add some newlines to the output of basic stats
This commit is contained in:
parent
6a8b4075e0
commit
f6995646f2
@ -186,10 +186,10 @@ class BasicStatisticsNumbers(GeoAlgorithm):
|
||||
|
||||
def createHTML(self, outputFile, algData):
|
||||
f = codecs.open(outputFile, 'w', encoding='utf-8')
|
||||
f.write('<html><head>')
|
||||
f.write('<html><head>\n')
|
||||
f.write('<meta http-equiv="Content-Type" content="text/html; \
|
||||
charset=utf-8" /></head><body>')
|
||||
charset=utf-8" /></head><body>\n')
|
||||
for s in algData:
|
||||
f.write('<p>' + unicode(s) + '</p>')
|
||||
f.write('</body></html>')
|
||||
f.write('<p>' + unicode(s) + '</p>\n')
|
||||
f.write('</body></html>\n')
|
||||
f.close()
|
||||
|
@ -145,10 +145,10 @@ class BasicStatisticsStrings(GeoAlgorithm):
|
||||
|
||||
def createHTML(self, outputFile, algData):
|
||||
f = codecs.open(outputFile, 'w', encoding='utf-8')
|
||||
f.write('<html><head>')
|
||||
f.write('<html><head>\n')
|
||||
f.write('<meta http-equiv="Content-Type" content="text/html; \
|
||||
charset=utf-8" /></head><body>')
|
||||
charset=utf-8" /></head><body>\n')
|
||||
for s in algData:
|
||||
f.write('<p>' + unicode(s) + '</p>')
|
||||
f.write('<p>' + unicode(s) + '</p>\n')
|
||||
f.write('</body></html>')
|
||||
f.close()
|
||||
|
Loading…
x
Reference in New Issue
Block a user