From 7d23302737cff32eb482dc2801ea9a08f175b029 Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Sun, 27 Oct 2013 12:12:45 +0100 Subject: [PATCH] mpd: Remove Python 2.6-ism --- mopidy/frontends/mpd/translator.py | 1 - 1 file changed, 1 deletion(-) diff --git a/mopidy/frontends/mpd/translator.py b/mopidy/frontends/mpd/translator.py index df3338ba..d0198f13 100644 --- a/mopidy/frontends/mpd/translator.py +++ b/mopidy/frontends/mpd/translator.py @@ -204,7 +204,6 @@ def query_from_mpd_search_format(mpd_query): field = 'track' elif field in ('file', 'filename'): field = 'uri' - field = str(field) # Needed for kwargs keys on OS X and Windows what = m.groupdict()['what'] if not what: raise ValueError