diff --git a/openlp/plugins/bibles/forms/bibleupgradeform.py b/openlp/plugins/bibles/forms/bibleupgradeform.py index d78124c6c..b5bc6ed3d 100644 --- a/openlp/plugins/bibles/forms/bibleupgradeform.py +++ b/openlp/plugins/bibles/forms/bibleupgradeform.py @@ -496,6 +496,9 @@ class BibleUpgradeForm(OpenLPWizard): # Close the previous bible's connection. if oldBible is not None: oldBible.close_connection() + # Set to None to make obvious that we have already closed the + # database. + oldBible = None if self.stop_import_flag: self.success[number] = False break