From 307b9531beb6426d4ee1f5b4c09ee5abd718cbfc Mon Sep 17 00:00:00 2001 From: obenassy <> Date: Tue, 18 Dec 2007 19:48:57 +0000 Subject: [PATCH] Works with python2.4. --- shared/web/WebAPI.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/web/WebAPI.py b/shared/web/WebAPI.py index 5a79c6f1..31e34f12 100644 --- a/shared/web/WebAPI.py +++ b/shared/web/WebAPI.py @@ -281,7 +281,7 @@ def getAPIDict(): api['virtualHost'] = GlasnostObject(object = virtualHost) else: api['virtualHost'] = '' - api['currentURI'] = context.getVar('req')._req.uri + api['currentURI'] = context.getVar('req').uri api['math'] = math api['time'] = time api['urlargs'] = UrlArgs(api)