From 2373ff4e4ffbcd35112e13528b162ee80e4786cc Mon Sep 17 00:00:00 2001
From: Jack Jansen <jack.jansen@cwi.nl>
Date: Sun, 26 Jan 2003 22:15:10 +0000
Subject: [PATCH] Fix an omission in the previous checkin.

---
 Mac/scripts/EditPythonPrefs.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Mac/scripts/EditPythonPrefs.py b/Mac/scripts/EditPythonPrefs.py
index 9e9c3702e8..64c5218c6a 100644
--- a/Mac/scripts/EditPythonPrefs.py
+++ b/Mac/scripts/EditPythonPrefs.py
@@ -161,7 +161,7 @@ def interact(options, title):
 		if n == DIR_ITEM:
 			fss = EasyDialogs.AskFolder(message='Select python home folder:',
 				wanted=macfs.FSSpec)
-			if ok:
+			if fss:
 				options['dir'] = fss
 		elif n == HELP_ITEM and Help:
 			onoff = Help.HMGetBalloons()
-- 
2.49.0