diff --git a/Mac/scripts/EditPythonPrefs.py b/Mac/scripts/EditPythonPrefs.py index 9e9c3702e8b..64c5218c6a3 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()