summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kickstart.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kickstart.py b/kickstart.py
index 693f1e12a..3b1b5d55d 100644
--- a/kickstart.py
+++ b/kickstart.py
@@ -382,7 +382,7 @@ class KickstartBase(BaseInstallClass):
elif (str == "--resolution"):
resolution = arg
elif (str == "--depth"):
- depth = arg
+ depth = string.atoi(arg)
elif (str == "--startxonboot"):
startX = 1
elif (str == "--defaultdesktop"):