mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-22 19:53:17 +00:00
fix python 2, bug, dunno why the last didnt work.
This commit is contained in:
parent
419437e58b
commit
0e4d53a74c
1 changed files with 1 additions and 1 deletions
|
@ -503,7 +503,7 @@ class MyPlexServerShare(PlexObject):
|
|||
sections = []
|
||||
|
||||
for section in data.iter('Section'):
|
||||
if isinstance(section, ElementTree.Element):
|
||||
if ElementTree.iselement(section):
|
||||
sections.append(Section(self, section, url))
|
||||
|
||||
return sections
|
||||
|
|
Loading…
Reference in a new issue