add check for cavestats binary and give useful error if not working

This commit is contained in:
expo 2011-02-03 01:29:30 +00:00
parent 10ca493a91
commit df12d1c2ef

@ -87,6 +87,10 @@ def parse_csvfile():
# Main routine:
if (not os.access('CS_BINARY', os.X_OK)):
print "CS_BINARY not executable - skipping %s" % __file__
exit(1)
caveslist = parse_csvfile()
dplong = file("dplong.htm", "w")