mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-22 11:43:13 +00:00
add shortIdentifier attribute to Agent
This commit is contained in:
parent
3418acf317
commit
96cb0eb70a
1 changed files with 2 additions and 1 deletions
|
@ -674,4 +674,5 @@ class Agent(PlexObject):
|
|||
self.hasAttribution = data.attrib.get('hasAttribution')
|
||||
self.hasPrefs = data.attrib.get('hasPrefs')
|
||||
self.identifier = data.attrib.get('identifier')
|
||||
self.primary = data.attrib.get('primary')
|
||||
self.primary = data.attrib.get('primary')
|
||||
self.shortIdentifier = self.identifier.rsplit('.', 1)[1]
|
Loading…
Reference in a new issue