treewide: add u to instances of 'singleton:true'

Fixes #1901.
This commit is contained in:
Ivan Shapovalov 2016-03-06 02:12:43 +03:00
parent abf2511002
commit 4d40b058d3
2 changed files with 3 additions and 3 deletions

View file

@ -59,8 +59,8 @@ log.propagate = False # Don't propagate to root handler.
PF_KEY_QUERIES = {
'comp': 'comp:true',
'singleton': 'singleton:true',
'comp': u'comp:true',
'singleton': u'singleton:true',
}

View file

@ -75,7 +75,7 @@ class MBSyncPlugin(BeetsPlugin):
"""Retrieve and apply info from the autotagger for items matched by
query.
"""
for item in lib.items(query + ['singleton:true']):
for item in lib.items(query + [u'singleton:true']):
item_formatted = format(item)
if not item.mb_trackid:
self._log.info(u'Skipping singleton with no mb_trackid: {0}',