mirror of
https://github.com/beetbox/beets.git
synced 2025-12-25 18:13:17 +01:00
mpdstats: fix two log.info calls to use unicode strings
This commit is contained in:
parent
ea31a7ef2a
commit
058e3adbef
1 changed files with 2 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue