summaryrefslogtreecommitdiffstats
path: root/iw/upgrade_bootloader_gui.py
diff options
context:
space:
mode:
Diffstat (limited to 'iw/upgrade_bootloader_gui.py')
-rw-r--r--iw/upgrade_bootloader_gui.py2
1 files changed, 1 insertions, 1 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)