Skip to content

Commit f699564

Browse files
committed
[processing] Add some newlines to the output of basic stats
1 parent 6a8b407 commit f699564

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

python/plugins/processing/algs/qgis/BasicStatisticsNumbers.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -186,10 +186,10 @@ def processAlgorithm(self, progress):
186186

187187
def createHTML(self, outputFile, algData):
188188
f = codecs.open(outputFile, 'w', encoding='utf-8')
189-
f.write('<html><head>')
189+
f.write('<html><head>\n')
190190
f.write('<meta http-equiv="Content-Type" content="text/html; \
191-
charset=utf-8" /></head><body>')
191+
charset=utf-8" /></head><body>\n')
192192
for s in algData:
193-
f.write('<p>' + unicode(s) + '</p>')
194-
f.write('</body></html>')
193+
f.write('<p>' + unicode(s) + '</p>\n')
194+
f.write('</body></html>\n')
195195
f.close()

python/plugins/processing/algs/qgis/BasicStatisticsStrings.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -145,10 +145,10 @@ def processAlgorithm(self, progress):
145145

146146
def createHTML(self, outputFile, algData):
147147
f = codecs.open(outputFile, 'w', encoding='utf-8')
148-
f.write('<html><head>')
148+
f.write('<html><head>\n')
149149
f.write('<meta http-equiv="Content-Type" content="text/html; \
150-
charset=utf-8" /></head><body>')
150+
charset=utf-8" /></head><body>\n')
151151
for s in algData:
152-
f.write('<p>' + unicode(s) + '</p>')
152+
f.write('<p>' + unicode(s) + '</p>\n')
153153
f.write('</body></html>')
154154
f.close()

0 commit comments

Comments
 (0)