From b1fcca67e6a275e49131b42e084bff992b4b78e4 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Tue, 6 Nov 2018 15:24:20 +0100 Subject: fix unicode woes --- s2-pdf-report.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 's2-pdf-report.py') diff --git a/s2-pdf-report.py b/s2-pdf-report.py index 7977660f..b22d44d5 100644 --- a/s2-pdf-report.py +++ b/s2-pdf-report.py @@ -28,7 +28,7 @@ def pdf_report_first_pages(): write_report('reports/first_pages.html', title='First pages', keys=None, rows=rows) write_report('reports/institutions.html', title='Institutions', keys=None, rows=sorted(institutions, key=lambda x: x[1])) write_report('reports/institutions_missing.html', title='Institutions', keys=None, rows=no_institutions) - write_csv('reports/institution_names.txt', keys=None, rows=[(name,) for name in deduped_institutions]) + write_csv('reports/institution_names.csv', keys=None, rows=[(name,) for name in deduped_institutions]) print("{} deduped institutions".format(len(deduped_institutions))) def dedupe(a): -- cgit v1.2.3-70-g09d2