Let jsonify.photo expect that tags are sets, not lists.
This commit is contained in:
		
							parent
							
								
									a8f5f858b7
								
							
						
					
					
						commit
						5c4c0a3034
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -38,7 +38,7 @@ def exception(e): | ||||||
| 
 | 
 | ||||||
| def photo(p, include_albums=True, include_tags=True): | def photo(p, include_albums=True, include_tags=True): | ||||||
|     tags = p.get_tags() |     tags = p.get_tags() | ||||||
|     tags.sort(key=lambda x: x.name) |     tags = sorted(tags, key=lambda x: x.name) | ||||||
|     j = { |     j = { | ||||||
|         'type': 'photo', |         'type': 'photo', | ||||||
|         'id': p.id, |         'id': p.id, | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue