Refactor exporter
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1176,10 +1176,6 @@ def bool_true(value, return_none=False):
|
|||||||
|
|
||||||
|
|
||||||
def get_attrs_to_dict(obj, attrs):
|
def get_attrs_to_dict(obj, attrs):
|
||||||
# Reload ~plexapi.base.PlexPartialObject
|
|
||||||
if hasattr(obj, 'isPartialObject'):
|
|
||||||
obj = obj.reload() if obj.isPartialObject() else obj
|
|
||||||
|
|
||||||
d = {}
|
d = {}
|
||||||
|
|
||||||
for attr, sub in attrs.items():
|
for attr, sub in attrs.items():
|
||||||
|
Reference in New Issue
Block a user