Merge pull request #1902 from intelfx/fix-1901

treewide: add `u` to instances of 'singleton:true'
This commit is contained in:
Adrian Sampson 2016-03-05 15:22:07 -08:00
commit 6dca74099d
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}',