fixed condition in which if user streams is set to more than one, it

would try to kill and notify x times more
This commit is contained in:
dirtycajunrice 2018-12-19 23:49:20 -06:00
parent 79088cf6ce
commit a27056a11f

View File

@ -629,6 +629,7 @@ if __name__ == "__main__":
if a_stream.ip_address != tautulli_stream.ip_address:
tautulli_stream.terminate(kill_message)
notify(opts, kill_message, 'Multiple IP Streams', tautulli_stream, tautulli_server)
exit(0)
elif opts.jbop == 'paused':
killed_stream = tautulli_stream.terminate_long_pause(kill_message, opts.limit, opts.interval)