Fixed bug #700859: Bible importers do not clean up properly after a failed import.

bzr-revno: 1335
Fixes: https://launchpad.net/bugs/700859
This commit is contained in:
Raoul Snyman 2011-02-25 06:42:24 +00:00 committed by Tim Bentley
commit 82a87571b4

View File

@ -753,4 +753,5 @@ class BibleImportForm(OpenLPWizard):
else:
self.progressLabel.setText(translate(
'BiblesPlugin.ImportWizardForm', 'Your Bible import failed.'))
del self.manager.db_cache[importer.name]
delete_database(self.plugin.settingsSection, importer.file)