send the whole environment
This commit is contained in:
@@ -378,10 +378,7 @@ def makedirs_rights(path):
|
|||||||
|
|
||||||
def notify(msg):
|
def notify(msg):
|
||||||
if 'notifier' in app.config:
|
if 'notifier' in app.config:
|
||||||
msg['address'] = "%s:%s"%(
|
msg['environment'] = request.environ
|
||||||
request.remote_addr,
|
|
||||||
request.environ['REMOTE_ADDR']
|
|
||||||
)
|
|
||||||
app.config['notifier'].notify(msg)
|
app.config['notifier'].notify(msg)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user