summaryrefslogtreecommitdiffstats
path: root/Mac/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/scripts')
-rw-r--r--Mac/scripts/EditPythonPrefs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/scripts/EditPythonPrefs.py b/Mac/scripts/EditPythonPrefs.py
index 9e9c370..64c5218 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()