Fix dummy library with respect to raising lookup error
This commit is contained in:
parent
c8b3c91c7c
commit
b090d37457
@ -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()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user