Skip to content

Commit

Permalink
Unable to use database other than sqlite
Browse files Browse the repository at this point in the history
[] around the value non_sqlite_dbs caused a bug to be triggered where you cannot set anything but sqlite.
  • Loading branch information
phantium committed Jul 7, 2014
1 parent 006f0de commit 5944d85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion willie/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 5944d85

Please sign in to comment.