config loading, data directory, more logging
This commit is contained in:
parent
74cd20c55d
commit
00e794292a
4 changed files with 35 additions and 11 deletions
|
@ -23,9 +23,7 @@ eval(compile(open(os.path.join('core', 'reload.py'), 'U').read(),
|
|||
reload(init=True)
|
||||
|
||||
|
||||
bot.persist_dir = os.path.abspath('persist')
|
||||
if not os.path.exists(bot.persist_dir):
|
||||
os.mkdir(bot.persist_dir)
|
||||
|
||||
|
||||
print 'Connection(s) made, starting main loop.'
|
||||
|
||||
|
|
Reference in a new issue