summaryrefslogtreecommitdiffstats
path: root/parsers
diff options
context:
space:
mode:
Diffstat (limited to 'parsers')
-rw-r--r--parsers/caves.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/parsers/caves.py b/parsers/caves.py
index d4d53cd..5c4ceb5 100644
--- a/parsers/caves.py
+++ b/parsers/caves.py
@@ -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)