forked from openlp/openlp
prevent closing an already closed database
This commit is contained in:
parent
ec93173891
commit
924482ac51
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user