Skip to content

Commit 0f854b0

Browse files
authored
Merge pull request #773 from JonnyWong16/bugfix/auto_reload
Fix return value when using USER_DONT_RELOAD_FOR_KEYS
2 parents 754698b + 90a1cff commit 0f854b0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ lib/
2626
pip-selfcheck.json
2727
pyvenv.cfg
2828
MANIFEST
29-
29+
venv/
3030

3131
# path for the test lib.
3232
tools/plex

plexapi/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ def __getattribute__(self, attr):
455455
# Check a few cases where we dont want to reload
456456
if attr in _DONT_RELOAD_FOR_KEYS: return value
457457
if attr in _DONT_OVERWRITE_SESSION_KEYS: return value
458-
if attr in USER_DONT_RELOAD_FOR_KEYS: return
458+
if attr in USER_DONT_RELOAD_FOR_KEYS: return value
459459
if attr.startswith('_'): return value
460460
if value not in (None, []): return value
461461
if self.isFullObject(): return value

0 commit comments

Comments
 (0)