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