View Single Post
Old 11-02-2010, 09:10 AM   #3
nsomlai
Junior Member
nsomlai began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Nov 2010
Device: Kindle 3
Thanks for the tip, but I couldn't make it work.

coverurl = root.xpath(xpath_cover)
if len(coverurl) > 0:
mi['#molyurl'] = coverurl[0]

I'm getting this error:
'Metadata' object does not support item assignment.
nsomlai is offline   Reply With Quote