diff options
Diffstat (limited to 'Mac/scripts/ConfigurePython.py')
-rw-r--r-- | Mac/scripts/ConfigurePython.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Mac/scripts/ConfigurePython.py b/Mac/scripts/ConfigurePython.py index 94e3b95..f651b04 100644 --- a/Mac/scripts/ConfigurePython.py +++ b/Mac/scripts/ConfigurePython.py @@ -124,7 +124,9 @@ def main(): import Dlg rv = Dlg.CautionAlert(ALERT_NOTPYTHONFOLDER, None) if rv == ALERT_NOTPYTHONFOLDER_REMOVE_QUIT: - print "TBD: Should remove preferences file" + import pythonprefs, preferences + prefpathname = pythonprefs.pref_fss.as_pathname() + os.remove(prefpathname) sys.exit(0) elif rv == ALERT_NOTPYTHONFOLDER_QUIT: sys.exit(0) |