Fixed old bug (caused by careless Carbonizing) that noone noticed until

this week (apparently me and Bob Heeter at more or less the same time).
This commit is contained in:
Just van Rossum 2001-09-24 17:29:09 +00:00
parent 287620f50d
commit c72d4cddc9
1 changed files with 1 additions and 1 deletions

View File

@ -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.FSpOpenResFile(dst, 1)
ref = Res.FSpOpenResFile(dst, 2)
try:
Res.UseResFile(ref)
py_resource.frompyfile(src, "CGI_MAIN", preload=1)