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

This commit is contained in:
Dean Gardiner
2013-12-06 23:58:45 +13:00
parent 01e64e989e
commit afe9aed2eb
+2 -2
View File
@@ -18,12 +18,12 @@ class MediaBase(Plugin):
'category': {},
}
search_dict = mergeDicts(default_dict, {
search_dict = mergeDicts({
'library': {
'related_libraries': {},
'root_library': {}
},
})
}, default_dict)
def initType(self):
addEvent('media.types', self.getType)