forked from openlp/openlp
removed not needed code (this case should never occur and if it does, the manager instance should delete the file)
This commit is contained in:
parent
29b67efed6
commit
7159559eaa
@ -401,14 +401,6 @@ class BibleUpgradeForm(OpenLPWizard):
|
|||||||
oldBible = OldBibleDB(self.mediaItem, path=self.temp_dir,
|
oldBible = OldBibleDB(self.mediaItem, path=self.temp_dir,
|
||||||
file=filename[0])
|
file=filename[0])
|
||||||
name = filename[1]
|
name = filename[1]
|
||||||
if name is None:
|
|
||||||
self.incrementProgressBar(unicode(translate(
|
|
||||||
'BiblesPlugin.UpgradeWizardForm',
|
|
||||||
'Upgrading Bible %s of %s: "%s"\nFailed')) %
|
|
||||||
(number + 1, max_bibles, name),
|
|
||||||
self.progressBar.maximum() - self.progressBar.value())
|
|
||||||
self.success[number] = False
|
|
||||||
continue
|
|
||||||
self.progressLabel.setText(unicode(translate(
|
self.progressLabel.setText(unicode(translate(
|
||||||
'BiblesPlugin.UpgradeWizardForm',
|
'BiblesPlugin.UpgradeWizardForm',
|
||||||
'Upgrading Bible %s of %s: "%s"\nUpgrading ...')) %
|
'Upgrading Bible %s of %s: "%s"\nUpgrading ...')) %
|
||||||
|
Loading…
Reference in New Issue
Block a user