From: Jack Jansen Date: Fri, 7 Apr 2000 09:08:37 +0000 (+0000) Subject: Return a handle in stead of a resource. X-Git-Tag: v1.6a2~96 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e31d3d66aa47253411c7059a6b0263f513266ecc;p=python Return a handle in stead of a resource. --- diff --git a/Mac/Lib/macfsn.py b/Mac/Lib/macfsn.py index c78459d376..f7b6b2eec8 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)