From: Fredrik Tolf Date: Sat, 11 Jan 2014 05:13:09 +0000 (+0100) Subject: Made Python3 changes. X-Git-Url: http://git.dolda2000.com/gitweb/?a=commitdiff_plain;h=d747233eb5fa4ddcabc233ea69d01c1d1efc06bd;p=wrw.git Made Python3 changes. --- diff --git a/wrw/dispatch.py b/wrw/dispatch.py index 7f1066a..2c97b9f 100644 --- a/wrw/dispatch.py +++ b/wrw/dispatch.py @@ -58,7 +58,7 @@ def handleenv(env, startreq, handler): def exterror(env, startreq): def handler(req): - import resp + from . import resp code = 404 if "Response-Code" in req.ihead: try: