Fix dummy library with respect to raising lookup error

This commit is contained in:
Thomas Adamcik 2010-05-06 00:11:11 +02:00
parent c8b3c91c7c
commit b090d37457

View File

@ -29,6 +29,7 @@ class DummyLibraryController(BaseLibraryController):
matches = filter(lambda t: uri == t.uri, self._library)
if matches:
return matches[0]
raise LookupError
def search(self, field, query):
return Playlist()