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:
Andreas Preikschat 2011-08-17 13:08:32 +02:00
parent 29b67efed6
commit 7159559eaa
1 changed files with 0 additions and 8 deletions

View File

@ -401,14 +401,6 @@ class BibleUpgradeForm(OpenLPWizard):
oldBible = OldBibleDB(self.mediaItem, path=self.temp_dir,
file=filename[0])
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(
'BiblesPlugin.UpgradeWizardForm',
'Upgrading Bible %s of %s: "%s"\nUpgrading ...')) %