Add rss2email v2.511 v2.511
authorAaron Swartz <me@aaronsw.com>
Tue, 6 Jul 2004 12:00:00 +0000 (12:00 +0000)
committerW. Trevor King <wking@tremily.us>
Fri, 15 Feb 2013 16:58:21 +0000 (11:58 -0500)
Typo bug with emails. Tx daniel.

Downloaded from:

  http://web.archive.org/web/20040825081604/http://www.aaronsw.com/2002/rss2email/rss2email-2.511.py

rss2email.py

index cddd7bf1e6d908bd1041c32c0af648d0f910da73..0ee6aca75e3b0f6f73cc3e06175ff5a8f4e563c7 100644 (file)
@@ -10,7 +10,7 @@ Usage:
   list
   delete n
 """
-__version__ = "2.51"
+__version__ = "2.511"
 __author__ = "Aaron Swartz (me@aaronsw.com)"
 __copyright__ = "(C) 2004 Aaron Swartz. GNU GPL 2."
 ___contributors__ = ["Dean Jackson (dino@grorg.org)", 
@@ -241,7 +241,7 @@ def unlock(feeds, feedfileObject):
 ### Program Functions ###
 
 def add(*args):
-       if len(args) == 2 and contains(args[1], '@') and not contain(args[1], '://'):
+       if len(args) == 2 and contains(args[1], '@') and not contains(args[1], '://'):
                urls, to = [args[0]], args[1]
        else:
                urls, to = args, None