95
95
"""Connects to the database and creates a DB object.
96
96
Takes no parameters - gets all the DB info from the configuration."""
97
98
self.db = pg.connect(dbname=conf.db_dbname, host=conf.db_host,
98
99
port=conf.db_port, user=conf.db_user, passwd=conf.db_password)