summaryrefslogtreecommitdiff
path: root/regenerate_index_html.py
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2020-01-25 13:43:40 +0100
committerEven Rouault <even.rouault@spatialys.com>2020-01-25 13:43:40 +0100
commitf113219c2bd1e8eaeabaa947cb15f8a2214553ec (patch)
tree713866050b5b186fb0eccc014a2708bfe2dc3276 /regenerate_index_html.py
parent32d2553d8761891fc36ef6860f5cceda4a141e5e (diff)
downloadPROJ-data-f113219c2bd1e8eaeabaa947cb15f8a2214553ec.tar.gz
PROJ-data-f113219c2bd1e8eaeabaa947cb15f8a2214553ec.zip
Update index.html
Diffstat (limited to 'regenerate_index_html.py')
-rw-r--r--regenerate_index_html.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/regenerate_index_html.py b/regenerate_index_html.py
index 652bf22..235e95e 100644
--- a/regenerate_index_html.py
+++ b/regenerate_index_html.py
@@ -57,7 +57,7 @@ for dirname in sorted(dirnames):
readme_filename = None
for f in glob.glob(dirname + '/*'):
f = os.path.basename(f)
- if f.startswith('README'):
+ if f.endswith('README.txt'):
assert not readme_filename
readme_filename = f
else: