summaryrefslogtreecommitdiffstats
path: root/Mac/Tools/CGI/PythonCGISlave.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Tools/CGI/PythonCGISlave.py')
-rw-r--r--Mac/Tools/CGI/PythonCGISlave.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Mac/Tools/CGI/PythonCGISlave.py b/Mac/Tools/CGI/PythonCGISlave.py
index d2dd90f..f14a582 100644
--- a/Mac/Tools/CGI/PythonCGISlave.py
+++ b/Mac/Tools/CGI/PythonCGISlave.py
@@ -70,7 +70,8 @@ Content-type: text/html
def get_cgi_code():
# If we're a CGI wrapper, the CGI code resides in a PYC resource.
- import Res, marshal
+ from Carbon import Res
+ import marshal
try:
code = Res.GetNamedResource('PYC ', "CGI_MAIN")
except Res.Error: