2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-14 05:55:06 +00:00

Fixing cave list webpage

This commit is contained in:
Philip Sargent
2021-03-24 00:55:36 +00:00
parent a9fa251fee
commit 7f37327bcd
6 changed files with 19 additions and 7 deletions

View File

@@ -53,6 +53,7 @@ def readcaves():
raise
print(" - Reading Entrances from entrance descriptions xml files")
print(" - settings.CAVEDESCRIPTIONS: ", settings.CAVEDESCRIPTIONS)
for filename in next(os.walk(settings.ENTRANCEDESCRIPTIONS))[2]: #Should be a better way of getting a list of files
if filename.endswith('.html'):
readentrance(filename)