Update notification.py

self.data is now correctly formatted, previously it would cause an invalid message when there is an error.
Merge pull request #8 from wmiltenburg/patch-2

Update notification.py