Update worker.go

This commit is contained in:
Brad Rydzewski 2014-08-14 11:56:11 -07:00
parent d3f4754397
commit 4215193af9

View file

@ -134,7 +134,7 @@ func (w *worker) Execute(r *model.Request) {
}
// send all "started" notifications
if script.Notifications != nil {
if script.Notifications == nil {
script.Notifications = &notify.Notification{}
}
script.Notifications.Send(r)