From 29838e1f714b3283c5793de56de664701f6d0d63 Mon Sep 17 00:00:00 2001 From: emacsen Date: Sun, 14 Jul 2013 11:43:41 -0400 Subject: [PATCH] Fix typo found in enclosure function --- feedgen/entry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feedgen/entry.py b/feedgen/entry.py index 28628a9..708b2a4 100644 --- a/feedgen/entry.py +++ b/feedgen/entry.py @@ -574,7 +574,7 @@ class FeedEntry(object): :param type: Mimetype of the linked media. :returns: Data of the enclosure element. ''' - if not uri is None: + if not url is None: self.link( href=url, rel='enclosure', type=type, length=length ) return self.__rss_enclosure