From 4a61c7e8ca38c047a3cafe6f004a31e33ab0c14a Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Tue, 19 Nov 2013 09:09:19 +0100 Subject: [PATCH] mpd: Remove redundant ^ anchor in example pattern --- mopidy/frontends/mpd/protocol/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mopidy/frontends/mpd/protocol/__init__.py b/mopidy/frontends/mpd/protocol/__init__.py index dbc85d78..dbb96a1b 100644 --- a/mopidy/frontends/mpd/protocol/__init__.py +++ b/mopidy/frontends/mpd/protocol/__init__.py @@ -44,7 +44,7 @@ def handle_request(pattern, auth_required=True): For example, if the command is ``do that thing`` the ``what`` argument will be ``this thing``:: - @handle_request('^do\ (?P.+)$') + @handle_request('do\ (?P.+)$') def do(what): ...