diff options
-rw-r--r-- | iw/upgrade_bootloader_gui.py | 2 | ||||
-rw-r--r-- | textw/upgrade_bootloader_text.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/iw/upgrade_bootloader_gui.py b/iw/upgrade_bootloader_gui.py index e7d3e9ff9..add2a98c8 100644 --- a/iw/upgrade_bootloader_gui.py +++ b/iw/upgrade_bootloader_gui.py @@ -68,7 +68,7 @@ class UpgradeBootloaderWindow (InstallWindow): self.update_radio = gtk.RadioButton(None, _("_Update boot loader configuration")) updatestr = _("This will update your current boot loader.") - if self.type != None: + if self.type != None and self.bootDev != None: current = _("The installer has detected the %s boot loader " "currently installed on %s.") % (self.type, self.bootDev) diff --git a/textw/upgrade_bootloader_text.py b/textw/upgrade_bootloader_text.py index 0b351f885..f7aaa5983 100644 --- a/textw/upgrade_bootloader_text.py +++ b/textw/upgrade_bootloader_text.py @@ -39,7 +39,7 @@ class UpgradeBootloaderWindow: elif dispatch.stepInSkipList("instbootloader"): nobl = 1 else: - if self.type != None: + if self.type != None and self.bootDev != None: update = 1 else: nobl = 0 |