Skip to content

Commit

Permalink
Fixed exception raised when retrieving preferences
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzeman committed Aug 23, 2016
1 parent d80182c commit 16058e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plex/objects/core/base.py
Expand Up @@ -137,7 +137,7 @@ def construct(cls, client, node, attribute_map=None, path=None, child=False):
setattr(obj, key, prop.value(cls, client, node_key, node, keys_used))

# Ensure attributes were matched
if not keys_used:
if child and not keys_used:
return [], None

# Post-fill transformation
Expand Down

0 comments on commit 16058e0

Please sign in to comment.