summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-11-14 00:54:50 +0100
committerFlorent Le Coz <louiz@louiz.org>2011-11-14 00:54:50 +0100
commit920c43dae25b06fd843dc8f8cbbf5e6bc5bf91c0 (patch)
treea6a3b72d68f0f5783875cd721ce5e6686009078a
parent805c7a73fd69912f8d42502241c58a76064f2d39 (diff)
downloadpoezio-920c43dae25b06fd843dc8f8cbbf5e6bc5bf91c0.tar.gz
poezio-920c43dae25b06fd843dc8f8cbbf5e6bc5bf91c0.tar.bz2
poezio-920c43dae25b06fd843dc8f8cbbf5e6bc5bf91c0.tar.xz
poezio-920c43dae25b06fd843dc8f8cbbf5e6bc5bf91c0.zip
Fix mpd plugin (the colors)
-rw-r--r--plugins/mpd_client.py2
1 files changed, 1 insertions, 1 deletions
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)