summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2009-02-21 12:49:52 +0100
committerRené 'Necoro' Neumann <necoro@necoro.net>2009-02-21 12:49:52 +0100
commitb90634a122458304bbd96bbac099eb1bcb8c7b70 (patch)
tree426ee393cfdb3a54125bb56be9ebe7c4431b587d
parentdd0919c900761bd76736ff790ca37f144e3de93d (diff)
downloadportato-b90634a122458304bbd96bbac099eb1bcb8c7b70.tar.gz
portato-b90634a122458304bbd96bbac099eb1bcb8c7b70.tar.bz2
portato-b90634a122458304bbd96bbac099eb1bcb8c7b70.zip
Well -- ehm -- yeah
Diffstat (limited to '')
-rw-r--r--portato/db/__init__.py3
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"))