Fix setting directories when not using advanced mode

This commit is contained in:
TingPing 2014-09-03 10:35:03 -04:00 committed by Valentin Lorentz
parent 5709fb9db5
commit b0d0e06ebc

View File

@ -317,7 +317,8 @@ def main():
basedir = something("""Where would you like to create these
directories?""", default=os.curdir)
# conf.supybot.directories.log
(logDir, basedir) = getDirectoryName('logs', prompt=False)
(logDir, basedir) = getDirectoryName('logs',
basedir=basedir, prompt=False)
conf.supybot.directories.log.setValue(logDir)
# conf.supybot.directories.data
(dataDir, basedir) = getDirectoryName('data',