commit
5b6b1fe6fc
2 changed files with 2 additions and 2 deletions
|
@ -66,7 +66,7 @@ class PodcastExtension(BaseExtension):
|
|||
|
||||
if self.__itunes_image:
|
||||
image = etree.SubElement(channel, '{%s}image' % ITUNES_NS)
|
||||
image.text = self.__itunes_image
|
||||
image.attrib['href'] = self.__itunes_image
|
||||
|
||||
if self.__itunes_explicit in ('yes', 'no', 'clean'):
|
||||
explicit = etree.SubElement(channel, '{%s}explicit' % ITUNES_NS)
|
||||
|
|
|
@ -50,7 +50,7 @@ class PodcastEntryExtension(BaseEntryExtension):
|
|||
|
||||
if self.__itunes_image:
|
||||
image = etree.SubElement(entry, '{%s}image' % ITUNES_NS)
|
||||
image.text = self.__itunes_image
|
||||
image.attrib['href'] = self.__itunes_image
|
||||
|
||||
if self.__itunes_duration:
|
||||
duration = etree.SubElement(entry, '{%s}duration' % ITUNES_NS)
|
||||
|
|
Loading…
Reference in a new issue