Fix Tag.rename from raising TagExists for old instead of desired new.
This commit is contained in:
		
							parent
							
								
									64d8410977
								
							
						
					
					
						commit
						be35f3bb1f
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -1251,7 +1251,7 @@ class Tag(ObjectBase, GroupableMixin): | |||
|         except exceptions.NoSuchTag: | ||||
|             pass | ||||
|         else: | ||||
|             raise exceptions.TagExists(existing_tag) | ||||
|             raise exceptions.TagExists(new_name) | ||||
| 
 | ||||
|         self._cached_qualified_name = None | ||||
|         self.photodb._cached_frozen_children = None | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue