From f5ea63851b1a053c77375094eb08d16f9009116e Mon Sep 17 00:00:00 2001 From: vunhat_minh Date: Wed, 31 Aug 2016 11:15:34 +0900 Subject: [PATCH] Fix a bug of not being able to specify filter nick in Python 3 --- rainbowstream/rainbow.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rainbowstream/rainbow.py b/rainbowstream/rainbow.py index 9b1004f..1b5ee1d 100644 --- 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 -- 2.25.1