p134 - updated CliFpdb for new importer
This commit is contained in:
parent
79b8f4616a
commit
155b2e93b0
|
@ -54,5 +54,12 @@ if __name__ == "__main__":
|
||||||
(options, sys.argv) = parser.parse_args()
|
(options, sys.argv) = parser.parse_args()
|
||||||
|
|
||||||
settings={'imp-callFpdbHud':False, 'db-backend':2}
|
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 = fpdb_import.Importer(options, settings)
|
||||||
importer.import_file_dict()
|
importer.addImportFile(options.inputFile)
|
||||||
|
importer.runImport()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user