mpd: Fix typo in browse handling.

This commit is contained in:
Thomas Adamcik 2014-06-20 23:08:03 +02:00
parent f824ded6ca
commit 69b4a8cad6

View File

@ -295,7 +295,7 @@ class MpdContext(object):
for part in path_parts:
for ref in self.core.library.browse(uri).get():
if (ref.type in (ref.DIRECTORY, ref.type == ref.PLAYLIST) and
if (ref.type in (ref.DIRECTORY, ref.PLAYLIST) and
ref.name == part):
uri = ref.uri
break