Merge pull request #2568 from fuzeman/tv_searcher

[TV] Fixed bug with Library serialization when adding shows
This commit is contained in:
Ruud Burger
2013-12-05 00:42:13 -08:00

View File

@@ -182,7 +182,7 @@ class Library(Entity):
if include_root:
root_library = related_libraries.get(root_key)
orig_dict['root_library'] = root_library[0] if len(root_library) else None
orig_dict['root_library'] = root_library[0] if root_library else None
return orig_dict