Fix Importer call for CLI usage

This commit is contained in:
Worros 2010-09-05 18:30:22 +08:00
parent 50ffeea3ec
commit c1a512435b

View File

@ -395,7 +395,7 @@ def main(argv=None):
gtk.main()
else:
#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(_("don't drop"))
importer.setFailOnError(options.failOnError)