From 12c3b0286a04de7b9a83f3d2bacdd1236661ad09 Mon Sep 17 00:00:00 2001 From: Peng Zhihui Date: Mon, 24 Feb 2014 11:41:16 +0800 Subject: [PATCH] Modify AutoInstall/auto_install.py modified: AutoInstall/auto_install.py --- AutoInstall/auto_install.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/AutoInstall/auto_install.py b/AutoInstall/auto_install.py index 87d77a3..dd922cb 100644 --- a/AutoInstall/auto_install.py +++ b/AutoInstall/auto_install.py @@ -48,7 +48,10 @@ while True : count = count - 1 if count < 0 or count > len(list) - 1: - ri_newt.Screen.screen.finish() + try: + ri_newt.Screen.screen.finish() + except: + pass break if s == '0':