mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-22 19:53:17 +00:00
Merge pull request #773 from JonnyWong16/bugfix/auto_reload
Fix return value when using USER_DONT_RELOAD_FOR_KEYS
This commit is contained in:
commit
0f854b01ce
2 changed files with 2 additions and 2 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -26,7 +26,7 @@ lib/
|
|||
pip-selfcheck.json
|
||||
pyvenv.cfg
|
||||
MANIFEST
|
||||
|
||||
venv/
|
||||
|
||||
# path for the test lib.
|
||||
tools/plex
|
|
@ -455,7 +455,7 @@ class PlexPartialObject(PlexObject):
|
|||
# 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
|
||||
|
|
Loading…
Reference in a new issue