Browse Source

Log when sending a notification

pull/1603/head
Safihre 5 years ago
parent
commit
f91646f956
  1. 1
      sabnzbd/notifier.py

1
sabnzbd/notifier.py

@ -119,6 +119,7 @@ def check_cat(section, job_cat, keyword=None):
def send_notification(title, msg, gtype, job_cat=None):
""" Send Notification message """
logging.info("Sending notification: %s - %s (type=%s, job_cat=%s)", title, msg, gtype, job_cat)
# Notification Center
if sabnzbd.DARWIN and sabnzbd.cfg.ncenter_enable():
if check_classes(gtype, "ncenter") and check_cat("ncenter", job_cat):

Loading…
Cancel
Save