GH-26: Use 'string' as dict key
This commit is contained in:
parent
1734a2e2f0
commit
f5903e9aa7
@ -196,6 +196,7 @@ def _list_build_query(field, mpd_query):
|
||||
query = {}
|
||||
while tokens:
|
||||
key = tokens[0].lower()
|
||||
key = str(key) # Needed for kwargs keys on OS X and Windows
|
||||
value = tokens[1]
|
||||
tokens = tokens[2:]
|
||||
if key not in (u'artist', u'album', u'date', u'genre'):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user