Skip to content

Commit 90a1cff

Browse files
committed
Fix return value when using USER_DONT_RELOAD_FOR_KEYS
1 parent 44373e2 commit 90a1cff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)