View | Details | Raw Unified | Return to bug 37155
Collapse All | Expand All

(-)a/ucs-school-4.0/ucs-school-umc-csv-import/umc/python/schoolcsvimport/__init__.py (-1 / +2 lines)
 Lines 169-175   def save_csv(self, request): Link Here 
169
				columns = [] # name,firstname,unused2
169
				columns = [] # name,firstname,unused2
170
				first_lines = []
170
				first_lines = []
171
				for line in reader:
171
				for line in reader:
172
					if not any(cell.strip() for cell in line):
172
					line = [cell.strip() for cell in line]
173
					if not any(line):
173
						# empty line
174
						# empty line
174
						continue
175
						continue
175
					writer.writerow(line)
176
					writer.writerow(line)

Return to bug 37155