parent
307e8e5b61
commit
d9b83065e3
1 changed files with 2 additions and 1 deletions
|
@ -1291,7 +1291,8 @@ class API():
|
||||||
collections = []
|
collections = []
|
||||||
for child in self.item:
|
for child in self.item:
|
||||||
if child.tag == 'Collection':
|
if child.tag == 'Collection':
|
||||||
collections.append(child.attrib['tag'])
|
if child.attrib['tag']:
|
||||||
|
collections.append(child.attrib['tag'])
|
||||||
return collections
|
return collections
|
||||||
|
|
||||||
def getPeople(self):
|
def getPeople(self):
|
||||||
|
|
Loading…
Reference in a new issue