From e23ca3c35aba074f8cfa496af24c7641973c7fab Mon Sep 17 00:00:00 2001 From: "Kurt B. Kaiser" Date: Thu, 2 Jan 2003 17:09:34 +0000 Subject: Improve exception handling. --- Lib/idlelib/idle.pyw | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Lib/idlelib/idle.pyw') diff --git a/Lib/idlelib/idle.pyw b/Lib/idlelib/idle.pyw index 0d4e85fdf0..c8a8feaf6c 100644 --- a/Lib/idlelib/idle.pyw +++ b/Lib/idlelib/idle.pyw @@ -2,8 +2,9 @@ try: import idlelib.PyShell - idlelib.PyShell.main() except ImportError: # IDLE is not installed, but maybe PyShell is on sys.path: import PyShell PyShell.main() +else: + idlelib.PyShell.main() -- cgit v1.2.1