From 12fd582d7084c40b972280d3cb03d475066aa33c Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Thu, 28 Feb 2019 18:22:50 +0100 Subject: [PATCH] typo --- platypush/plugins/music/mpd/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platypush/plugins/music/mpd/__init__.py b/platypush/plugins/music/mpd/__init__.py index 7f2de8e3..919bd528 100644 --- a/platypush/plugins/music/mpd/__init__.py +++ b/platypush/plugins/music/mpd/__init__.py @@ -273,7 +273,7 @@ class MusicMpdPlugin(MusicPlugin): if resource.startswith('spotify:'): resource = resource.split('?')[0] - m = re.match('spotify:user:[^:]+:playlist:(.+?)') + m = re.match('spotify:user:[^:]+:playlist:(.+?)', resource) if m: # Old Spotify URI format, convert it to new resource = 'spotify:playlist:' + m.group(1)