Add new link to Pocket along with tweet id
"""
if not c['POCKET_SUPPORT']:
- printNicely(red('Pocket isn\'t enabled.'))
+ printNicely(yellow('Pocket isn\'t enabled.'))
+ printNicely(yellow('You need to "config POCKET_SUPPORT = true"'))
return
# Get tweet infos
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