[svn r7523] ----------------------------------------------------------------------

r10814:  expo | 2006-08-02 10:01:42 +0100

Regenerated prospecting guide
----------------------------------------------------------------------
This commit is contained in:
olly
2006-09-07 04:27:51 +02:00
parent e1cc583b12
commit 2d776f4925

View File

@@ -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: