caronc / nzb-notify

Push Notifications to a large number of supported services for NZBGet and SABnzbd (based on Apprise)
GNU General Public License v3.0
129 stars 16 forks source link

Notify.py was not found! #84

Open DunklesKaltesNichts opened 2 years ago

DunklesKaltesNichts commented 2 years ago

sabnzbd-notify - * - ERROR - The engine /config/scripte/Notify.py was not found!

The script works without error message when I change this line in sabnzbd-notify.py 216ff

from: if not (os.path.isfile(NOTIFY_SCRIPT) and os.access(NOTIFY_SCRIPT, os.X_OK)): to: if (os.path.isfile(NOTIFY_SCRIPT) and os.access(NOTIFY_SCRIPT, os.X_OK)): or: if not (os.path.isfile(NOTIFY_SCRIPT) or os.access(NOTIFY_SCRIPT, os.X_OK)):

Screenshot