summaryrefslogtreecommitdiff
path: root/portato
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2009-02-21 00:43:20 +0100
committerRené 'Necoro' Neumann <necoro@necoro.net>2009-02-21 00:43:20 +0100
commit8de1f4514cf29cee9d95de1b6e7c04b14dbe6a74 (patch)
treec6069eec47569d9d88d43fd97927939a4064cf9f /portato
parent0fc79dd9f67c561cc4297c6f36884bc9176e3d2b (diff)
downloadportato-8de1f4514cf29cee9d95de1b6e7c04b14dbe6a74.tar.gz
portato-8de1f4514cf29cee9d95de1b6e7c04b14dbe6a74.tar.bz2
portato-8de1f4514cf29cee9d95de1b6e7c04b14dbe6a74.zip
Fix small error
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"))