Only merge when imdbid exists

This commit is contained in:
Ruud
2012-02-05 15:05:02 +01:00
parent 1f16808002
commit b9e1a2ff3e
@@ -68,4 +68,6 @@ class MovieResultModifier(Plugin):
return temp
def checkLibrary(self, result):
return mergeDicts(result, self.getLibraryTags(result['imdb']))
if result and result.get('imdb'):
return mergeDicts(result, self.getLibraryTags(result['imdb']))
return result