plex.settings.__getattr__ should return the value (not the object)

This commit is contained in:
Michael Shepanski 2017-02-23 01:55:22 -05:00
parent 91a8ab4563
commit a9416c0708

View file

@ -22,7 +22,7 @@ class Settings(PlexObject):
def __getattr__(self, attr):
if attr.startswith('_'):
return self.__dict__[attr]
return self.get(attr)
return self.get(attr).value
def __setattr__(self, attr, value):
if not attr.startswith('_'):