From 7159559eaaec2f445820c38b3200ccff3481cbc1 Mon Sep 17 00:00:00 2001 From: Andreas Preikschat Date: Wed, 17 Aug 2011 13:08:32 +0200 Subject: [PATCH] removed not needed code (this case should never occur and if it does, the manager instance should delete the file) --- openlp/plugins/bibles/forms/bibleupgradeform.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/openlp/plugins/bibles/forms/bibleupgradeform.py b/openlp/plugins/bibles/forms/bibleupgradeform.py index 3286c6f88..322e3219a 100644 --- a/openlp/plugins/bibles/forms/bibleupgradeform.py +++ b/openlp/plugins/bibles/forms/bibleupgradeform.py @@ -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 ...')) %