updates to scripts

surveytable needs tobe moved to new section of repo
tools and scripts should be separated somehow
This commit is contained in:
ExpoOnServer
2011-07-14 03:13:06 +01:00
parent c221e37850
commit 63e907404b
3 changed files with 29 additions and 12 deletions

View File

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

View File

@@ -315,7 +315,7 @@ surfacecolour = "#808080"
repath = re.compile(r'^(?:182to(?:tc|184)|tctocol|82to97|vd1to161d|161ftod|161etof|161etog|40entlink2|surfnr161|surf161|kansurf)$')
for fnm in ("all.3d", "alltracks.3d"):
for mapcode in draws.keys():
file3d = os.popen("dump3d ../" + fnm)
file3d = os.popen("./dump3d ../" + fnm)
draw = draws[mapcode]
lastx, lasty = 0, 0
for l in file3d: