Made test-conf if it doesn't exist.

This commit is contained in:
Jeremy Fincher 2004-01-20 21:50:38 +00:00
parent 393dbf47a7
commit 23c2640a87

View File

@ -34,6 +34,9 @@ import os
import supybot import supybot
import logging import logging
if not os.path.exists('test-conf'):
os.mkdir('test-conf')
registryFilename = os.path.join('test-conf', 'test.conf') registryFilename = os.path.join('test-conf', 'test.conf')
fd = file(registryFilename, 'w') fd = file(registryFilename, 'w')
fd.write(""" fd.write("""