1 parent
2fa7834e6e
commit
0bae509311
1 file changed
+4
-4
@@ -34,9 +34,9 @@ class Growl(Notification):
|
|||||||
|
|
||||||
self.growl = notifier.GrowlNotifier(
|
self.growl = notifier.GrowlNotifier(
|
||||||
applicationName = Env.get('appname'),
|
applicationName = Env.get('appname'),
|
||||||
notifications = ["Updates"],
|
notifications = ['Updates'],
|
||||||
defaultNotifications = ["Updates"],
|
defaultNotifications = ['Updates'],
|
||||||
applicationIcon = '%s/static/images/couch.png' % fireEvent('app.api_url', single = True),
|
applicationIcon = self.getNotificationImage('medium'),
|
||||||
hostname = hostname if hostname else 'localhost',
|
hostname = hostname if hostname else 'localhost',
|
||||||
password = password if password else None,
|
password = password if password else None,
|
||||||
port = port if port else 23053
|
port = port if port else 23053
|
||||||
@@ -56,7 +56,7 @@ class Growl(Notification):
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
self.growl.notify(
|
self.growl.notify(
|
||||||
noteType = "Updates",
|
noteType = 'Updates',
|
||||||
title = self.default_title,
|
title = self.default_title,
|
||||||
description = message,
|
description = message,
|
||||||
sticky = False,
|
sticky = False,
|
||||||
|
|||||||
Reference in new issue
Block a user