THP: Fix Importer call
This commit is contained in:
parent
3bd8f3d352
commit
7ac652c12e
|
@ -129,7 +129,7 @@ def main(argv=None):
|
||||||
settings.update(config.get_import_parameters())
|
settings.update(config.get_import_parameters())
|
||||||
settings.update(config.get_default_paths())
|
settings.update(config.get_default_paths())
|
||||||
db.recreate_tables()
|
db.recreate_tables()
|
||||||
importer = fpdb_import.Importer(False, settings, config)
|
importer = fpdb_import.Importer(False, settings, config, None)
|
||||||
importer.setDropIndexes("don't drop")
|
importer.setDropIndexes("don't drop")
|
||||||
importer.setFailOnError(True)
|
importer.setFailOnError(True)
|
||||||
importer.setThreads(-1)
|
importer.setThreads(-1)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user