Let jsonify.photo expect that tags are sets, not lists.

This commit is contained in:
voussoir 2020-09-20 12:06:10 -07:00
parent a8f5f858b7
commit 5c4c0a3034

View file

@ -38,7 +38,7 @@ def exception(e):
def photo(p, include_albums=True, include_tags=True):
tags = p.get_tags()
tags.sort(key=lambda x: x.name)
tags = sorted(tags, key=lambda x: x.name)
j = {
'type': 'photo',
'id': p.id,