Browse Source

Fixed bug with Library serialization when adding shows

pull/2568/head
Dean Gardiner 12 years ago
parent
commit
037c355836
  1. 2
      couchpotato/core/settings/model.py

2
couchpotato/core/settings/model.py

@ -182,7 +182,7 @@ class Library(Entity):
if include_root: if include_root:
root_library = related_libraries.get(root_key) 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 return orig_dict

Loading…
Cancel
Save