Browse Source

Change option for database name in databases.ini.

In the configuration file for databases, change the name of the
option indicating the database name from `name' to `database', for
clarity.
master
parent
commit
5f5f96b6ad
  1. 2
      incenp/bio/seq/databases.py

2
incenp/bio/seq/databases.py

@ -195,7 +195,7 @@ class DatabaseProvider(object):
else:
conn_settings['host'] = self.cfg.get(name, 'host')
conn_settings['user'] = self.cfg.get(name, 'user')
conn_settings['database'] = self.cfg.get(name, 'name')
conn_settings['database'] = self.cfg.get(name, 'database')
conn_settings['password'] = self.cfg.get(name, 'password',
fallback=None)
except NoOptionError:

Loading…
Cancel
Save