def userNotificationCenter_didActivateNotification_(self, notification_center, notification):
        notification_center.removeDeliveredNotification_(notification)
        data = dict(notification.userInfo())
        try:
            _call_as_function_or_method(getattr(notifications, '*notification_center'), data)
        except __HOLE__:  # notification center function not specified -> no error but warning in log
            _log('WARNING: notification received but no function specified for answering it; use @notifications '
                 'decorator to register a function.')
dataset/ETHPy150Open beville/ComicStreamer/libs/rumps/rumps.py/NSApp.userNotificationCenter_didActivateNotification_