Fix Importer call for CLI usage
This commit is contained in:
parent
50ffeea3ec
commit
c1a512435b
|
@ -395,7 +395,7 @@ def main(argv=None):
|
||||||
gtk.main()
|
gtk.main()
|
||||||
else:
|
else:
|
||||||
#Do something useful
|
#Do something useful
|
||||||
importer = fpdb_import.Importer(False,settings, config, self.parent)
|
importer = fpdb_import.Importer(False,settings, config, None)
|
||||||
# importer.setDropIndexes("auto")
|
# importer.setDropIndexes("auto")
|
||||||
importer.setDropIndexes(_("don't drop"))
|
importer.setDropIndexes(_("don't drop"))
|
||||||
importer.setFailOnError(options.failOnError)
|
importer.setFailOnError(options.failOnError)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user