Browse Source

Fixed bug where media default_dict contained related and root library attributes.

pull/2574/head
Dean Gardiner 12 years ago
parent
commit
afe9aed2eb
  1. 4
      couchpotato/core/media/__init__.py

4
couchpotato/core/media/__init__.py

@ -18,12 +18,12 @@ class MediaBase(Plugin):
'category': {}, 'category': {},
} }
search_dict = mergeDicts(default_dict, { search_dict = mergeDicts({
'library': { 'library': {
'related_libraries': {}, 'related_libraries': {},
'root_library': {} 'root_library': {}
}, },
}) }, default_dict)
def initType(self): def initType(self):
addEvent('media.types', self.getType) addEvent('media.types', self.getType)

Loading…
Cancel
Save