Update notification.py

self.data is now correctly formatted, previously it would cause an invalid message when there is an error.