Fixed bug with Library serialization when adding shows

This commit is contained in:
Dean Gardiner
2013-12-05 16:23:21 +13:00
parent 180b2bbffe
commit 037c355836

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