summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
Diffstat (limited to 'anaconda')
-rwxr-xr-xanaconda2
1 files changed, 1 insertions, 1 deletions
diff --git a/anaconda b/anaconda
index 2ba9aae2a..b5dd2b64c 100755
--- a/anaconda
+++ b/anaconda
@@ -346,7 +346,7 @@ elif (display_mode == 't'):
or (method and len (method) >= 7 and method[:7] == "http://")):
print _("Graphical installation not available for %s installs. "
"Starting text mode.") % (string.split(method, ':')[0],)
- elif len (method) >= 5 and method[:5] == "hd://":
+ elif method and len (method) >= 5 and method[:5] == "hd://":
print _("Graphical installation not available for hard drive installs. "
"Starting text mode.")
from text import InstallInterface