diff --git a/text/auto_install.py b/text/auto_install.py index dd922cb..f187fc8 100644 --- a/text/auto_install.py +++ b/text/auto_install.py @@ -41,11 +41,13 @@ while True : elif list[count] == 'mountpoint': ri_newt.MountPoint() s = ri_newt.Screen.dict[list[count]].set_data() - - if int(s) == 0: - count = count + 1 - else: - count = count - 1 + try: + if int(s) == 0: + count = count + 1 + else: + count = count - 1 + except: + pass if count < 0 or count > len(list) - 1: try: