plugin list interests: add "namespace" in serialised data
This commit is contained in:
parent
bd54aec282
commit
39d941ddcf
1 changed files with 2 additions and 0 deletions
|
|
@ -161,6 +161,8 @@ class ListInterest(object):
|
|||
for item_elt in interests_data[0]:
|
||||
interest_data = {}
|
||||
interest_elt = item_elt.interest
|
||||
if interest_elt.hasAttribute(u'namespace'):
|
||||
interest_data[u'namespace'] = interest_elt.getAttribute(u'namespace')
|
||||
if interest_elt.hasAttribute(u'name'):
|
||||
interest_data[u'name'] = interest_elt.getAttribute(u'name')
|
||||
if interest_elt.hasAttribute(u'thumb_url'):
|
||||
|
|
|
|||
Loading…
Reference in a new issue