api/notifications: Improve Python 3 compatibility
api/notifications: Improve Python 3 compatibility

skylines-project/skylines,skylines-project/skylines,skylines-project/skylines,skylines-project/skylines