mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2025-12-08 14:54:28 +00:00
[svn r7523] ----------------------------------------------------------------------
r10814: expo | 2006-08-02 10:01:42 +0100 Regenerated prospecting guide ----------------------------------------------------------------------
This commit is contained in:
@@ -379,7 +379,7 @@ for cave in cavetab:
|
||||
except:
|
||||
print "Bad area '%s' for cave %s" % (area, number)
|
||||
|
||||
htmlfile = file("../prospecting_guide.html", "w")
|
||||
htmlfile = file("../../handbook/prospecting_guide.html", "w")
|
||||
|
||||
htmlfile.write("<html><head><title>Prospecting Guide</title>\n")
|
||||
htmlfile.write("<script lang=\"Javascript\"><!--\n");
|
||||
@@ -519,9 +519,14 @@ for maparea in imgmaps.keys():
|
||||
htmlfile.write("</body></html>")
|
||||
htmlfile.close()
|
||||
|
||||
if showbg:
|
||||
imgpath = "../"
|
||||
else:
|
||||
imgpath = "../../handbook/"
|
||||
|
||||
for maparea in imgs.keys():
|
||||
del draws[maparea]
|
||||
filename = get_img_name(maparea)
|
||||
imgs[maparea].save("../" + filename)
|
||||
imgs[maparea].save(imgpath + filename)
|
||||
|
||||
# vim:syntax=python:set ts=4:
|
||||
|
||||
Reference in New Issue
Block a user