From 920c43dae25b06fd843dc8f8cbbf5e6bc5bf91c0 Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Mon, 14 Nov 2011 00:54:50 +0100 Subject: Fix mpd plugin (the colors) --- plugins/mpd_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/mpd_client.py b/plugins/mpd_client.py index b56e0d7f..833599ae 100644 --- a/plugins/mpd_client.py +++ b/plugins/mpd_client.py @@ -21,7 +21,7 @@ class Plugin(BasePlugin): s = '%(artist)s - %(title)s (%(album)s)' % current if 'full' in args: pourcentage = int(current_time / float(current['time']) * 10) - s += ' \x192[\x191' + '-'*(pourcentage-1) + '\x193+' + '\x191' + '-' * (10-pourcentage-1) + '\x192]\x19o' + s += ' \x192}[\x191}' + '-'*(pourcentage-1) + '\x193}+' + '\x191}' + '-' * (10-pourcentage-1) + '\x192}]\x19o' if not self.core.send_message('%s' % (s,)): self.core.information('Cannot send result (%s), this is not a conversation tab' % result) -- cgit v1.2.3