file(self.dir+'error.html', 'w').write(stat)
if not os.path.exists(self.dir+'docs.html') :
docs=(html +
- '<a href="/docs/inventory.pdf">Inventory</a>\n'
- ' in accordance with the \n'
- ' <a href="http://www.drexelsafetyandhealth.com/lab-chem.htm#chpe7">\n'
- ' Chemical Hygiene Plan Section E-7</a>.<br>\n'
- '<a href="/docs/door_warning.pdf">Door warning</a>\n'
- ' in accordance with the Chemical Hygiene Plan Sections\n'
- ' <a href="http://www.drexelsafetyandhealth.com/lab-chem.htm#chpe7">E-7</a>\n'
- ' and \n'
- ' <a href="http://www.drexelsafetyandhealth.com/lab-chem.htm#chpe10">E-10</a>\n'
- '.<br>\n'
+ ' <head>\n'
+ ' </head>\n'
+ ' <body>\n'
+ ' <a href="/docs/inventory.pdf">Inventory</a>\n'
+ ' in accordance with the \n'
+ ' <a href="http://www.drexelsafetyandhealth.com/lab-chem.htm#chpe7">\n'
+ ' Chemical Hygiene Plan Section E-7</a>.<br>\n'
+ ' <a href="/docs/door_warning.pdf">Door warning</a>\n'
+ ' in accordance with the Chemical Hygiene Plan Sections\n'
+ ' <a href="http://www.drexelsafetyandhealth.com/lab-chem.htm#chpe7">E-7</a>\n'
+ ' and \n'
+ ' <a href="http://www.drexelsafetyandhealth.com/lab-chem.htm#chpe10">E-10</a>\n'
+ ' .<br>\n'
' </body>\n'
'</html>\n')
file(self.dir+'docs.html', 'w').write(docs)