From 30521647017e173662fba93ba0926d311f32a6af Mon Sep 17 00:00:00 2001 From: vunhat_minh Date: Fri, 30 May 2014 15:10:48 +0900 Subject: [PATCH] modify switch code --- rainbowstream/rainbow.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/rainbowstream/rainbow.py b/rainbowstream/rainbow.py index 64aecf7..282437b 100644 --- a/rainbowstream/rainbow.py +++ b/rainbowstream/rainbow.py @@ -171,12 +171,10 @@ def switch(): keyword = g['stuff'].split()[1] if keyword[0] == '#': keyword = keyword[1:] - # Kill old process os.kill(g['stream_pid'], signal.SIGKILL) args = parse_arguments() args.track_keywords = keyword - # Start new process p = Process( target=stream, @@ -188,11 +186,9 @@ def switch(): # Personal stream elif target == 'mine': - # Kill old process os.kill(g['stream_pid'], signal.SIGKILL) args = parse_arguments() - # Start new process p = Process( target=stream, -- 2.25.1