From 6b548daee46d841383e35048f7969e80e967f66d Mon Sep 17 00:00:00 2001 From: Ville Rantanen Date: Mon, 19 Feb 2018 15:18:40 +0200 Subject: [PATCH] send the whole environment --- code/app.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/code/app.py b/code/app.py index 73340f8..dde3006 100644 --- a/code/app.py +++ b/code/app.py @@ -378,10 +378,7 @@ def makedirs_rights(path): def notify(msg): if 'notifier' in app.config: - msg['address'] = "%s:%s"%( - request.remote_addr, - request.environ['REMOTE_ADDR'] - ) + msg['environment'] = request.environ app.config['notifier'].notify(msg)