Skip to content

Commit

Permalink
Revert "Unable to use database other than sqlite"
Browse files Browse the repository at this point in the history
This reverts commit 5944d85.
  • Loading branch information
phantium committed Jul 7, 2014
1 parent 4d551ca commit 41960bb
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 41960bb

Please sign in to comment.