def __init__(self,appname,iconname=None): _icon = None if iconname: _icon = open(iconname).read() _Notifier.__init__( self, applicationName = appname, notifications = GROWL_NOTIFICATIONS, defaultNotifications = GROWL_NOTIFICATIONS, applicationIcon = _icon )
def __init__(self): GrowlNotifier.__init__(self, applicationName='Nose', notifications=['Nose', 'Success', 'Failure'] )