This commit is contained in:
Philip Sargent 2019-12-23 23:22:04 +00:00
parent e2d217f5c1
commit 2f21b54723

View File

@ -50,7 +50,7 @@ def parse_csvfile():
print "done\nParsing Cave list" print "done\nParsing Cave list"
#for cavefile in os.listdir("noinfo/cave_data"): #for cavefile in os.listdir("noinfo/cave_data"):
cavetabfiles = dir("noinfo/cave_data/") cavetabfile = dir("noinfo/cave_data/")
fieldnames=chomp(cavetabfile.next()).replace('"','').split(",") fieldnames=chomp(cavetabfile.next()).replace('"','').split(",")
cavetab = csv.DictReader(cavetabfile, fieldnames) cavetab = csv.DictReader(cavetabfile, fieldnames)