diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2009-01-28 22:27:59 +0100 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2009-01-28 22:27:59 +0100 |
commit | 59792e7297d90cdead2e1c83e4537991b20dd11c (patch) | |
tree | 9f4f08607a91a460b8f548348fc1669b3afb123d /portato/db/dict.py | |
parent | 5339ea7a621fc2a406198961613a1e9778ca1339 (diff) | |
download | portato-59792e7297d90cdead2e1c83e4537991b20dd11c.tar.gz portato-59792e7297d90cdead2e1c83e4537991b20dd11c.tar.bz2 portato-59792e7297d90cdead2e1c83e4537991b20dd11c.zip |
Enable sql-db formats
Diffstat (limited to 'portato/db/dict.py')
-rw-r--r-- | portato/db/dict.py | 3 |
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() |