summaryrefslogtreecommitdiff
path: root/portato/db
diff options
context:
space:
mode:
Diffstat (limited to 'portato/db')
-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"))
n class='insertions'>+0 2014-04-24Don't prompt for questions when stdin is not a tty.Jason A. Donenfeld3-7/+6 2014-04-24Allow overridable bash.Jason A. Donenfeld16-16/+16 2014-04-24dmenu: check for empty instead of ret codeJason A. Donenfeld1-1/+1 2014-04-24tests: sed doesn't like escaped chars on non-gnuJason A. Donenfeld1-1/+1 2014-04-24tests: run from anywhereJason A. Donenfeld13-4/+16 2014-04-24Turns out aliases were a bad idea.Jason A. Donenfeld14-95/+92 2014-04-24Make gpg_opts an array.Jason A. Donenfeld1-12/+12 2014-04-24Shellcheck errors.Jason A. Donenfeld1-6/+6 2014-04-24tests: todo updateJason A. Donenfeld1-25/+0