summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsand <daniel@spatof.org>2013-05-13 15:47:27 (GMT)
committer sand <daniel@spatof.org>2013-05-13 15:47:27 (GMT)
commitf615999c8d9ee0f1ecb01b356204298b9ffe3d6d (patch)
treee2bfdcce54bd67eb3cb068db92c3efd60786adfe
parent324fc8bce8717adaa92bb7238557ee380d7a63e6 (diff)
un poco di chiarezza
-rw-r--r--pinolo/bot.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pinolo/bot.py b/pinolo/bot.py
index a187374..8638c63 100644
--- a/pinolo/bot.py
+++ b/pinolo/bot.py
@@ -46,6 +46,8 @@ class Bot(SignalDispatcher):
self.plugins = []
self.db_uri = "sqlite:///%s" % os.path.join(
self.config["datadir"], "db.sqlite")
+ self.db_engine = None
+ self.running = False
for server in config['servers']:
server_config = config['servers'][server]