projects
/
rainbowstream.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e3c795
)
Fix a bug of not being able to specify filter nick in Python 3
author
vunhat_minh
<vunhat_minh@dwango.co.jp>
Wed, 31 Aug 2016 02:15:34 +0000
(11:15 +0900)
committer
vunhat_minh
<vunhat_minh@dwango.co.jp>
Wed, 31 Aug 2016 02:15:34 +0000
(11:15 +0900)
rainbowstream/rainbow.py
patch
|
blob
|
blame
|
history
diff --git
a/rainbowstream/rainbow.py
b/rainbowstream/rainbow.py
index 9b1004f20564bf20222aca219d5c4f3dffd62b5f..1b5ee1d98ff8c2cff2e1700b59a7fd96a0aaff90 100644
(file)
--- a/
rainbowstream/rainbow.py
+++ b/
rainbowstream/rainbow.py
@@
-1389,8
+1389,8
@@
def switch():
printNicely(light_magenta(guide))
only = raw_input('Only nicks [Ex: @xxx,@yy]: ')
ignore = raw_input('Ignore nicks [Ex: @xxx,@yy]: ')
- args.filter =
filter(None, only.split(','
))
- args.ignore =
filter(None, ignore.split(','
))
+ args.filter =
list(filter(None, only.split(',')
))
+ args.ignore =
list(filter(None, ignore.split(',')
))
except:
printNicely(red('Sorry, wrong format.'))
return