diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2009-02-24 18:26:38 +0100 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2009-02-24 18:26:38 +0100 |
commit | c768119cc7ade2018f7ab0ae0da0515bee36de60 (patch) | |
tree | 8846cd07eb121d0d332d92efd5e20fe5f1ae5baa /portato/db | |
parent | 8e3257caa9f70192794d9594feb0da489bdfc720 (diff) | |
parent | 3f02f33cc7bd3546453d22d072131218d5cdc1d0 (diff) | |
download | portato-c768119cc7ade2018f7ab0ae0da0515bee36de60.tar.gz portato-c768119cc7ade2018f7ab0ae0da0515bee36de60.tar.bz2 portato-c768119cc7ade2018f7ab0ae0da0515bee36de60.zip |
More 0.12 stuff
Diffstat (limited to 'portato/db')
-rw-r--r-- | portato/db/__init__.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/portato/db/__init__.py b/portato/db/__init__.py index f83659c..da8a81e 100644 --- a/portato/db/__init__.py +++ b/portato/db/__init__.py @@ -38,8 +38,7 @@ def Database(type): from .sql import SQLDatabase except ImportError: warning(_("Cannot load SQLDatabase.")) - _TYPE = "dict" - return Database(type) + return Database("dict") else: return SQLDatabase(SectionDict(_SESSION, "SQL")) |