diff --git a/.gitignore b/.gitignore index 3f426050b..d3b10acef 100644 --- a/.gitignore +++ b/.gitignore @@ -26,7 +26,7 @@ lib/ pip-selfcheck.json pyvenv.cfg MANIFEST - +venv/ # path for the test lib. tools/plex \ No newline at end of file diff --git a/plexapi/base.py b/plexapi/base.py index 0a653ac3c..21bdc912a 100644 --- a/plexapi/base.py +++ b/plexapi/base.py @@ -455,7 +455,7 @@ def __getattribute__(self, attr): # Check a few cases where we dont want to reload if attr in _DONT_RELOAD_FOR_KEYS: return value if attr in _DONT_OVERWRITE_SESSION_KEYS: return value - if attr in USER_DONT_RELOAD_FOR_KEYS: return + if attr in USER_DONT_RELOAD_FOR_KEYS: return value if attr.startswith('_'): return value if value not in (None, []): return value if self.isFullObject(): return value