From b90634a122458304bbd96bbac099eb1bcb8c7b70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Sat, 21 Feb 2009 12:49:52 +0100 Subject: Well -- ehm -- yeah --- portato/db/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'portato/db/__init__.py') 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")) -- cgit v1.2.3