diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-11-06 15:24:20 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-11-06 15:24:20 +0100 |
| commit | b1fcca67e6a275e49131b42e084bff992b4b78e4 (patch) | |
| tree | d7cefda6c6991f42183c371ba4b598b760fb7641 /s2-pdf-report.py | |
| parent | aacdf0fa056b51000ff88479da479ded3f36b59c (diff) | |
fix unicode woes
Diffstat (limited to 's2-pdf-report.py')
| -rw-r--r-- | s2-pdf-report.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): |
