diff options
Diffstat (limited to 'portato')
-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")) |