mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-13 16:52:58 -07:00
Fix script timeout
This commit is contained in:
parent
d874697eef
commit
c75099decc
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue