summaryrefslogtreecommitdiff
path: root/portato/db
diff options
context:
space:
mode:
Diffstat (limited to 'portato/db')
-rw-r--r--portato/db/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/portato/db/__init__.py b/portato/db/__init__.py
index d77fc0d..e0919dd 100644
--- a/portato/db/__init__.py
+++ b/portato/db/__init__.py
@@ -13,7 +13,7 @@
from __future__ import absolute_import
from ..session import Session, SectionDict
-from ..helper import debug
+from ..helper import debug, warning
_SESSION = None
_TYPE = None
@@ -35,7 +35,7 @@ def Database():
try:
from .sql import SQLDatabase
except ImportError:
- debug("Cannot load SQLDatabase.")
+ warning(_("Cannot load SQLDatabase."))
_TYPE = "dict"
return Database()
else: