diff --git a/plexapi/myplex.py b/plexapi/myplex.py index c25b20c1..0735613a 100644 --- a/plexapi/myplex.py +++ b/plexapi/myplex.py @@ -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