projects
/
rainbowstream.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6bba78
)
ability to give lists name as switch argument
author
witti96
<niklas96w@gmail.com>
Sat, 29 Nov 2014 16:26:11 +0000
(17:26 +0100)
committer
witti96
<niklas96w@gmail.com>
Sat, 29 Nov 2014 16:26:11 +0000
(17:26 +0100)
rainbowstream/rainbow.py
patch
|
blob
|
blame
|
history
diff --git
a/rainbowstream/rainbow.py
b/rainbowstream/rainbow.py
index 0bfc2af332053455b460996ca5f0aea502382db7..7fdab8498e3908e4057c9fadbfec5b70f937ea26 100644
(file)
--- a/
rainbowstream/rainbow.py
+++ b/
rainbowstream/rainbow.py
@@
-1314,7
+1314,10
@@
def switch():
th.start()
# Stream base on list
elif target == 'list':
- owner, slug = get_slug()
+ try:
+ owner, slug = check_slug(g['stuff'].split()[1])
+ except:
+ owner, slug = get_slug()
# Force python 2 not redraw readline buffer
listname = '/'.join([owner, slug])
# Set the listname variable