mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-10 14:14:19 +00:00
Fix rare case where details_key is None
This commit is contained in:
parent
0411449a70
commit
2cf0d7edab
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ class PlexObject(object):
|
|||
or disable each parameter individually by setting it to False or 0.
|
||||
"""
|
||||
details_key = self.key
|
||||
if hasattr(self, '_INCLUDES'):
|
||||
if details_key and hasattr(self, '_INCLUDES'):
|
||||
includes = {}
|
||||
for k, v in self._INCLUDES.items():
|
||||
value = kwargs.get(k, v)
|
||||
|
|
Loading…
Reference in a new issue