let fpdb_db routine work out which bits of config to use for connection

This commit is contained in:
sqlcoder 2009-01-03 17:59:48 +00:00
parent 26ad0ff91b
commit 257dd35c93

View File

@ -66,11 +66,7 @@ class Importer:
#TODO: Is this value in the xml file?
self.settings['handCount'] = 0
self.fdb = fpdb_db.fpdb_db() # sets self.fdb.db self.fdb.cursor and self.fdb.sql
self.fdb.connect(self.settings['db-backend'],
self.settings['db-host'],
self.settings['db-databaseName'],
self.settings['db-user'],
self.settings['db-password'])
self.fdb.do_connect(self.config)
#Set functions
def setCallHud(self, value):