Fix typo found in enclosure function

This commit is contained in:
emacsen 2013-07-14 11:43:41 -04:00
parent 7981ce5884
commit 29838e1f71

View file

@ -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