[svn r7525] ----------------------------------------------------------------------

r10816:  expo | 2006-08-02 10:12:35 +0100

Correctly update prospecting guide!
----------------------------------------------------------------------
This commit is contained in:
olly 2006-09-07 04:28:03 +02:00
parent f0fbf220a4
commit 9e6b1c12a7

View File

@ -379,7 +379,10 @@ for cave in cavetab:
except:
print "Bad area '%s' for cave %s" % (area, number)
htmlfile = file("../../handbook/prospecting_guide.html", "w")
if showbg:
htmlfile = file("/dev/null", "w")
else:
htmlfile = file("../../handbook/prospecting_guide.html", "w")
htmlfile.write("<html><head><title>Prospecting Guide</title>\n")
htmlfile.write("<script lang=\"Javascript\"><!--\n");