mpdstats: fix two log.info calls to use unicode strings

This commit is contained in:
Philippe Mongeau 2013-11-03 00:30:32 -04:00
parent ea31a7ef2a
commit 058e3adbef

View file

@ -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: