From 41960bb544b7f1d4d16fb4227c00b7117d47730b Mon Sep 17 00:00:00 2001 From: Phantium Date: Tue, 8 Jul 2014 00:44:49 +0200 Subject: [PATCH] Revert "Unable to use database other than sqlite" This reverts commit 5944d8596dd8b68ac3d552fcc7602f2e75f9987b. --- willie/db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/willie/db.py b/willie/db.py index a028164d8c..8ee37c7318 100644 --- a/willie/db.py +++ b/willie/db.py @@ -778,7 +778,7 @@ def configure(config): 'db', 'userdb_file', 'Location for the database file' ) - elif config.db.userdb_type in non_sqlite_dbs: + elif config.db.userdb_type in [non_sqlite_dbs]: db_type = non_sqlite_dbs[config.db.userdb_type] config.interactive_add( 'db', 'userdb_host', "Enter the %s hostname" % db_type, 'localhost'