Too fast with the Enter key :-( There is a missing strip:
- if opts.tags.get(account, False) and not (set(opts.tags[account].split(',')) & set (mi.tags)):
+ if opts.tags.get(account, False) and not (set([t.strip() for t in opts.tags[account].split(',')]) & set (mi.tags)):
|