mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
Made debug.py make conf.logDir if it doesn't exist.
This commit is contained in:
parent
d57c173598
commit
14f008df26
@ -55,6 +55,10 @@ import world
|
||||
###
|
||||
|
||||
# Names of logfiles.
|
||||
|
||||
if not os.path.exists(conf.logDir):
|
||||
os.mkdir(conf.logDir)
|
||||
|
||||
errorfile = os.path.join(conf.logDir, 'error.log')
|
||||
debugfile = os.path.join(conf.logDir, 'debug.log')
|
||||
tracefile = os.path.join(conf.logDir, 'trace.log')
|
||||
|
Loading…
Reference in New Issue
Block a user