mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2025-03-25 03:31:53 +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:
|
# Main routine:
|
||||||
|
|
||||||
|
if (not os.access('CS_BINARY', os.X_OK)):
|
||||||
|
print "CS_BINARY not executable - skipping %s" % __file__
|
||||||
|
exit(1)
|
||||||
|
|
||||||
caveslist = parse_csvfile()
|
caveslist = parse_csvfile()
|
||||||
|
|
||||||
dplong = file("dplong.htm", "w")
|
dplong = file("dplong.htm", "w")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user