ethan-nelson / osm_hall_monitor

Passive changeset surveillance for OpenStreetMap
MIT License
29 stars 3 forks source link

Better handling between filters and notification #14

Closed ethan-nelson closed 7 years ago

ethan-nelson commented 7 years ago

Right now, there's some major hacking in place for assembling the arrays in the filters that are sent to the notification routine (e.g. https://github.com/ethan-nelson/osm_hall_monitor/blob/master/osmhm/send_notification.py#L44). Instead, dictionaries should be assembled here.

(N.B.: I already made this change locally, just need to push changes to the repo.)

ethan-nelson commented 7 years ago

https://github.com/ethan-nelson/osm_hall_monitor/commit/4d222f37fe482b3c5eb630bf167acca06b1502db