From 1d7a82fe5819d1f99cf8e7f91cfdc3c89424ea03 Mon Sep 17 00:00:00 2001 From: Ryan Hitchman Date: Wed, 30 Apr 2014 20:12:28 -0700 Subject: [PATCH] fix persist_dir creation --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index cc4be13..a12e6dc 100755 --- a/bot.py +++ b/bot.py @@ -16,7 +16,7 @@ class Bot(object): self.conns = {} self.persist_dir = os.path.abspath('persist') if not os.path.exists(self.persist_dir): - os.mkdir(bot.persist_dir) + os.mkdir(self.persist_dir) bot = Bot()