Update notification.py

in the line 141 when try send site notification and email notification there is a error.
in return row.way, object Nonetype has not atribute 'way'