From e86d2870c45d76b5550c2debfca808bfd557edb9 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Tue, 6 Jan 1998 12:11:48 +0000 Subject: Loading defaults for gusi/sys.path didn't work for applets. Fixed. --- Mac/Lib/pythonprefs.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Mac/Lib/pythonprefs.py b/Mac/Lib/pythonprefs.py index e3a7b23..3bf8952 100644 --- a/Mac/Lib/pythonprefs.py +++ b/Mac/Lib/pythonprefs.py @@ -108,8 +108,10 @@ def AppletOptions(file): fss = macfs.FSSpec(file) a_popt = PoptLoader(ResLoader(fss, 'Popt', OVERRIDE_POPT_ID, default=popt_loader)) a_dir = ResLoader(fss, 'alis', OVERRIDE_DIR_ID, default=dir) - a_gusi = ResLoader(fss, 'GU\267I', OVERRIDE_GUSI_ID, default=gusi_loader) - a_path = StrListLoader(fss, 'STR#', OVERRIDE_PATH_ID, default=path_loader) + a_gusi = GusiLoader( + ResLoader(fss, 'GU\267I', OVERRIDE_GUSI_ID, default=gusi_loader)) + a_path = StrListLoader( + ResLoader(fss, 'STR#', OVERRIDE_PATH_ID, default=path_loader)) return PythonOptions(a_popt, a_dir, a_gusi, a_path) def _test(): -- cgit v0.12