sorry I am making a mess of this

This commit is contained in:
Philip Sargent 2019-12-23 23:20:46 +00:00
parent d660bf17c5
commit e2d217f5c1

View File

@ -48,9 +48,9 @@ def parse_csvfile():
l,d,w = map(float, chomp(os.popen(CS_BINARY + " noinfo/smk-system -c ").read()).split("\t"))
caveslist.append(["", l,d,w, {"Name" : "<i>Schwarzmooskogelh&ouml;hlensystem</i>", "Autogen file" : ""}])
print "done\nParsing Cave list"
for cavefile in os.listdir("noinfo/cave_data"):
cavetabfiles = dir("noinfo/cave_data/")
#for cavefile in os.listdir("noinfo/cave_data"):
cavetabfiles = dir("noinfo/cave_data/")
fieldnames=chomp(cavetabfile.next()).replace('"','').split(",")
cavetab = csv.DictReader(cavetabfile, fieldnames)