summaryrefslogtreecommitdiff
path: root/portato
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--portato/db/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/portato/db/__init__.py b/portato/db/__init__.py
index 2d056ea..f83659c 100644
--- a/portato/db/__init__.py
+++ b/portato/db/__init__.py
@@ -39,7 +39,7 @@ def Database(type):
except ImportError:
warning(_("Cannot load SQLDatabase."))
_TYPE = "dict"
- return Database()
+ return Database(type)
else:
return SQLDatabase(SectionDict(_SESSION, "SQL"))