projects
/
rainbowstream.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d70182e
)
modify switch code
author
vunhat_minh
<vunhat_minh@dwango.co.jp>
Fri, 30 May 2014 06:10:48 +0000
(15:10 +0900)
committer
vunhat_minh
<vunhat_minh@dwango.co.jp>
Fri, 30 May 2014 06:10:48 +0000
(15:10 +0900)
rainbowstream/rainbow.py
patch
|
blob
|
blame
|
history
diff --git
a/rainbowstream/rainbow.py
b/rainbowstream/rainbow.py
index 64aecf741d8fa97a66bd508a24242c54c78e025e..282437b849b9e6470f8357250725493b04b27247 100644
(file)
--- 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,