diff --git a/plexpy/notifiers.py b/plexpy/notifiers.py index 3a6b6f86..621a15dc 100644 --- a/plexpy/notifiers.py +++ b/plexpy/notifiers.py @@ -2242,7 +2242,7 @@ class SCRIPTS(Notifier): stderr=subprocess.PIPE, cwd=self.config['script_folder']) - if self.config['timeout']: + if self.config['timeout'] > 0: timer = threading.Timer(self.config['timeout'], kill_script, (process,)) else: timer = None