retreive real client IP

This commit is contained in:
Emmanuel Viennet 2021-09-18 21:38:32 +02:00
parent c5e5e02639
commit d43407bb6a

View File

@ -151,8 +151,9 @@ def version():
f = open(DIR + "installs.log", "a")
f.write(
"%s\t%s\t%s\t%s\t%s\n"
"%s\%s\t%s\t%s\t%s\t%s\n"
% (
request.environ,
time.strftime("%Y-%m-%d %H:%M:%S"),
remote_addr,
svn or commit or release or "-",