Skip to content

Commit

Permalink
Include missing keys for key notif
Browse files Browse the repository at this point in the history
  • Loading branch information
ethan-nelson committed Jul 1, 2017
1 parent 4d222f3 commit 47740e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion osmhm/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 47740e1

Please sign in to comment.