diff options
Diffstat (limited to 'Mac/Tools/CGI/BuildCGIApplet.py')
-rw-r--r-- | Mac/Tools/CGI/BuildCGIApplet.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Tools/CGI/BuildCGIApplet.py b/Mac/Tools/CGI/BuildCGIApplet.py index 8c9a633..c94eca9 100644 --- a/Mac/Tools/CGI/BuildCGIApplet.py +++ b/Mac/Tools/CGI/BuildCGIApplet.py @@ -64,7 +64,7 @@ def mkcgifilename(filename): def buildone(template, wrapper, src, dst): buildtools.process(template, wrapper, dst, 1) # write source as a PYC resource into dst - ref = Res.OpenResFile(dst) + ref = Res.FSpOpenResFile(dst, 1) try: Res.UseResFile(ref) py_resource.frompyfile(src, "CGI_MAIN", preload=1) |