From d2926dcbac858b3d14f5f69f8440495b883a9ca4 Mon Sep 17 00:00:00 2001 From: shypike Date: Sat, 26 Apr 2014 13:40:04 +0200 Subject: [PATCH] Prevent pseudo error message when testing "Notification Center". --- sabnzbd/growler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sabnzbd/growler.py b/sabnzbd/growler.py index 942b550..e62c06d 100644 --- a/sabnzbd/growler.py +++ b/sabnzbd/growler.py @@ -328,7 +328,7 @@ def send_notification_center(title, msg, gtype): proc = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=False) output = proc.stdout.read() proc.wait() - if 'Notification delivered' in output: + if 'Notification delivered' in output or 'Removing previously' in output: output = '' except: logging.info('Cannot run notifier "%s"', tool)