This commit is contained in:
Philip Sargent 2019-12-11 00:47:07 +00:00
parent c5f150244f
commit 9fa1775ddb

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"):
for cavefile in os.listdir("noinfo/cave_data"):
cavetabfiles = dir("noinfo/cave_data/")
cavetabfiles = dir("noinfo/cave_data/")
fieldnames=chomp(cavetabfile.next()).replace('"','').split(",")
cavetab = csv.DictReader(cavetabfile, fieldnames)