diff --git a/twander.py b/twander.py index 456b32a..27bc62c 100755 --- a/twander.py +++ b/twander.py @@ -6,7 +6,7 @@ # Program Information PROGNAME = "twander" -RCSID = "$Id: twander.py,v 3.207 2006/12/18 23:27:51 tundra Exp $" +RCSID = "$Id: twander.py,v 3.208 2006/12/18 23:50:43 tundra Exp $" VERSION = RCSID.split()[2] # Copyright Information @@ -1771,8 +1771,8 @@ if cmdkey == ASSOCIATE: if cmdname == ASSOCEXCL: for exclude in cmd.split(): - print cmdname - UI.Associations[cmdname].append(exclude) + if exclude not in UI.Associations[cmdname]: # Avoid duplicates + UI.Associations[cmdname].append(exclude) else: UI.Associations[cmdname] = cmd return