mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2025-03-22 02:01:55 +00:00
add check for cavestats binary and give useful error if not working
This commit is contained in:
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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user