mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-30 06:49:24 +01:00
Made test-conf if it doesn't exist.
This commit is contained in:
parent
393dbf47a7
commit
23c2640a87
@ -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("""
|
||||||
|
Loading…
Reference in New Issue
Block a user