From 058e3adbef1fa9614e5c51e6b8f97e2198ecda03 Mon Sep 17 00:00:00 2001 From: Philippe Mongeau Date: Sun, 3 Nov 2013 00:30:32 -0400 Subject: [PATCH] mpdstats: fix two log.info calls to use unicode strings --- beetsplug/mpdstats.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/beetsplug/mpdstats.py b/beetsplug/mpdstats.py index faee1e407..991e4453c 100644 --- a/beetsplug/mpdstats.py +++ b/beetsplug/mpdstats.py @@ -273,11 +273,11 @@ class Client(object): (time.time() - now_playing['started'])) if diff < 10.0: - log.info('mpdstats(played): {0}' + log.info(u'mpdstats(played): {0}' .format(now_playing['path'])) skipped = False else: - log.info('mpdstats(skipped): {0}' + log.info(u'mpdstats(skipped): {0}' .format(now_playing['path'])) skipped = True if skipped: