summaryrefslogtreecommitdiff
path: root/portato/db/dict.py
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2009-01-28 22:27:59 +0100
committerRené 'Necoro' Neumann <necoro@necoro.net>2009-01-28 22:27:59 +0100
commit59792e7297d90cdead2e1c83e4537991b20dd11c (patch)
tree9f4f08607a91a460b8f548348fc1669b3afb123d /portato/db/dict.py
parent5339ea7a621fc2a406198961613a1e9778ca1339 (diff)
downloadportato-59792e7297d90cdead2e1c83e4537991b20dd11c.tar.gz
portato-59792e7297d90cdead2e1c83e4537991b20dd11c.tar.bz2
portato-59792e7297d90cdead2e1c83e4537991b20dd11c.zip
Enable sql-db formats
Diffstat (limited to '')
-rw-r--r--portato/db/dict.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/portato/db/dict.py b/portato/db/dict.py
index 5c5ca49..d230821 100644
--- a/portato/db/dict.py
+++ b/portato/db/dict.py
@@ -24,9 +24,10 @@ class DictDatabase (Database):
lock = Database.lock
- def __init__ (self):
+ def __init__ (self, session):
"""Constructor."""
Database.__init__(self)
+ self.session = session
self.__initialize()
self.populate()