mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-14 19:57:22 +00:00
Try and ignore files that don't end .html (We really need to change to .xml) eg .html.orig!!
Change the index on troggle to move on with the year
This commit is contained in:
@@ -13,7 +13,8 @@ def readcaves():
|
||||
print "Reading Entrances"
|
||||
#print "list of <Slug> <Filename>"
|
||||
for filename in os.walk(settings.ENTRANCEDESCRIPTIONS).next()[2]: #Should be a better way of getting a list of files
|
||||
readentrance(filename)
|
||||
if filename.endswith('.html'):
|
||||
readentrance(filename)
|
||||
print "Reading Caves"
|
||||
for filename in os.walk(settings.CAVEDESCRIPTIONS).next()[2]: #Should be a better way of getting a list of files
|
||||
readcave(filename)
|
||||
|
||||
Reference in New Issue
Block a user