diff options
Diffstat (limited to 'portato/db/__init__.py')
-rw-r--r-- | portato/db/__init__.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/portato/db/__init__.py b/portato/db/__init__.py index da8a81e..e6f9759 100644 --- a/portato/db/__init__.py +++ b/portato/db/__init__.py @@ -43,9 +43,9 @@ def Database(type): return SQLDatabase(SectionDict(_SESSION, "SQL")) elif type == "dict": - debug("Using DictDatabase") - from .dict import DictDatabase - return DictDatabase(SectionDict(_SESSION, "dict")) + debug("Using HashDatabase") + from .hash import HashDatabase + return HashDatabase(SectionDict(_SESSION, "dict")) else: error(_("Unknown database type: %s"), type) |