Skip to content

Commit afd4e24

Browse files
andrey-yantsenHellowlol
authored andcommitted
fix myplexaccount initialization (#296)
1 parent 9e04a4f commit afd4e24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plexapi/myplex.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def _loadData(self, data):
127127
self.roles = []
128128
if roles:
129129
for role in roles.iter('role'):
130-
self.roles.append(role.attrib('id'))
130+
self.roles.append(role.attrib.get('id'))
131131

132132
entitlements = data.find('entitlements')
133133
self.entitlements = []

0 commit comments

Comments
 (0)