p134 - updated CliFpdb for new importer

This commit is contained in:
steffen123 2008-10-13 23:09:27 +01:00
parent 79b8f4616a
commit 155b2e93b0

View File

@ -54,5 +54,12 @@ if __name__ == "__main__":
(options, sys.argv) = parser.parse_args()
settings={'imp-callFpdbHud':False, 'db-backend':2}
settings['db-host']=options.server
settings['db-user']=options.user
settings['db-password']=options.password
settings['db-databaseName']=options.database
settings['handCount']=options.handCount
importer = fpdb_import.Importer(options, settings)
importer.import_file_dict()
importer.addImportFile(options.inputFile)
importer.runImport()