diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2020-01-01 16:17:37 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2020-01-01 16:17:37 +0100 |
| commit | a6352d3758b700ce9c091785497d70561b905347 (patch) | |
| tree | 4d7aca619793347cb8f26444ec68ec05cc24c541 /regenerate_index_html.py | |
| parent | 015a39b5a911e0d3afcdca63d992cee4bd52ef9a (diff) | |
| download | PROJ-data-a6352d3758b700ce9c091785497d70561b905347.tar.gz PROJ-data-a6352d3758b700ce9c091785497d70561b905347.zip | |
Fix eur_nkg links
Diffstat (limited to 'regenerate_index_html.py')
| -rw-r--r-- | regenerate_index_html.py | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/regenerate_index_html.py b/regenerate_index_html.py index 00afa92..652bf22 100644 --- a/regenerate_index_html.py +++ b/regenerate_index_html.py @@ -63,13 +63,8 @@ for dirname in sorted(dirnames): else: filenames.append(f) - title = '%s' % (dirname) - try: - agency = agencies[dirname] - title = '<a href="%s">%s</a>' % (agency['url'].replace('&', "&"), agency['agency']) - except KeyError: - - pass + agency = agencies[dirname] + title = '<a href="%s">%s</a>' % (agency['url'].replace('&', "&"), agency['agency']) links.append('</ul><hr><h3>%s</h3><ul>' % title ) for f in [readme_filename] + sorted(filenames): |
