summaryrefslogtreecommitdiff
path: root/portato/db/__init__.py
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2009-02-21 01:34:05 +0100
committerRené 'Necoro' Neumann <necoro@necoro.net>2009-02-21 01:34:05 +0100
commit8e3257caa9f70192794d9594feb0da489bdfc720 (patch)
treed7a6907e14614044fac87b89a3f4bffe25a4eda3 /portato/db/__init__.py
parent26942ea013e79d615eeca8ae0a38a39e5f945558 (diff)
parentdd0919c900761bd76736ff790ca37f144e3de93d (diff)
downloadportato-8e3257caa9f70192794d9594feb0da489bdfc720.tar.gz
portato-8e3257caa9f70192794d9594feb0da489bdfc720.tar.bz2
portato-8e3257caa9f70192794d9594feb0da489bdfc720.zip
Updates of 0.12
Diffstat (limited to 'portato/db/__init__.py')
-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"))