Removed data dir creation
This commit is contained in:
parent
bcf5f58c6b
commit
7eca476e29
@ -32,9 +32,6 @@ def main(cfg_file):
|
||||
cfg.update(CFG_DEV)
|
||||
elif 'PASSWORD' in os.environ:
|
||||
cfg['password'] = os.environ['PASSWORD']
|
||||
data = os.path.dirname(cfg['storage'].split('://', 1)[1])
|
||||
if not os.path.exists(data):
|
||||
os.makedirs(data)
|
||||
bot = IrcBot.from_config(cfg)
|
||||
bot.run()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user