Fix send notification with Python 3

Hi, i fix send notification when use this library with python 3. Please merge this fix.