From e31d3d66aa47253411c7059a6b0263f513266ecc Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Fri, 7 Apr 2000 09:08:37 +0000 Subject: [PATCH] Return a handle in stead of a resource. --- Mac/Lib/macfsn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mac/Lib/macfsn.py b/Mac/Lib/macfsn.py index c78459d3767..f7b6b2eec8f 100644 --- a/Mac/Lib/macfsn.py +++ b/Mac/Lib/macfsn.py @@ -17,7 +17,7 @@ def _mktypelist(typelist): data = 'Pyth' + struct.pack("hh", 0, len(typelist)) for type in typelist: data = data+type - return Res.Resource(data) + return Res.Handle(data) def _StandardGetFile(*typelist): return apply(_PromptGetFile, (None,)+typelist)