From 47740e1a105b6c051d882e8b12e0443939e6fe3d Mon Sep 17 00:00:00 2001 From: Ethan Nelson Date: Sat, 1 Jul 2017 15:27:53 -0500 Subject: [PATCH] Include missing keys for key notif --- osmhm/filters.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/osmhm/filters.py b/osmhm/filters.py index 9f06f50..2d108e3 100644 --- a/osmhm/filters.py +++ b/osmhm/filters.py @@ -167,6 +167,7 @@ def key_filter(objects, notification=False, notifier=send_notification.send_mail inserts.insert_key_event(item, item_key, key['id']) notify_list.append({'timestamp': item['timestamp'], 'changesetid': item['changeset'], 'username': item['username'].encode('utf8'), 'action': item['action'], - 'key': item_key, 'value': item['tags'][item_key]}) + 'key': item_key, 'value': item['tags'][item_key], + 'author': item['author'], 'address': item['email'], 'reason': item['reason']}) if notify_list and notification: send_notification.send_notification(notify_list, 'key', notifier=notifier)