Fix unittest error caused by to_str change
This commit is contained in:
parent
abfa47315e
commit
33b37b5df2
2 changed files with 25 additions and 19 deletions
|
|
@ -368,7 +368,7 @@ class TagHandler(object):
|
|||
tags = sorted(self._cache.values())
|
||||
if return_key_and_category:
|
||||
# return tuple (key, category)
|
||||
return [(to_str(tag.db_key), to_str(tag.db_category)) for tag in tags]
|
||||
return [(to_str(tag.db_key), tag.db_category) for tag in tags]
|
||||
elif return_objs:
|
||||
return tags
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue