aboutsummaryrefslogtreecommitdiff
path: root/cgi/api.py
diff options
context:
space:
mode:
Diffstat (limited to 'cgi/api.py')
-rw-r--r--cgi/api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgi/api.py b/cgi/api.py
index 09e7d75..7b8b6bd 100644
--- a/cgi/api.py
+++ b/cgi/api.py
@@ -29,7 +29,7 @@ def api(self, path_split):
def api_process(self, path_split):
formdata = self.formdata
- ip = self.environ["REMOTE_ADDR"]
+ ip = self.ip
t = time.time()
method = path_split[2]