From 8c3781728ab50914fd93598847c3ef104c2809d7 Mon Sep 17 00:00:00 2001 From: Blacktwin Date: Mon, 13 Aug 2018 07:03:37 -0400 Subject: [PATCH] sessionId check bypass if jbop == allstreams. sessionId arg not needed for killing all user streams. --- killstream/kill_stream.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/killstream/kill_stream.py b/killstream/kill_stream.py index b74a1c0..7bc0841 100644 --- a/killstream/kill_stream.py +++ b/killstream/kill_stream.py @@ -269,7 +269,7 @@ if __name__ == "__main__": opts = parser.parse_args() - if not opts.sessionId: + if not opts.sessionId and opts.jbop != 'allStreams': sys.stderr.write("No sessionId provided! Is this synced content?\n") sys.exit(1)