mirror of
				https://github.com/kovidgoyal/calibre.git
				synced 2025-10-30 10:12:25 -04:00 
			
		
		
		
	Fix #199
This commit is contained in:
		
							parent
							
								
									a6cb28c8d6
								
							
						
					
					
						commit
						cf09ac8b32
					
				| @ -664,7 +664,7 @@ class TableOfContents(object): | |||||||
|             raise LrsError, "TOC destination must be appended to a container with an objID" |             raise LrsError, "TOC destination must be appended to a container with an objID" | ||||||
| 
 | 
 | ||||||
|         for tl in self.tocEntries: |         for tl in self.tocEntries: | ||||||
|             if tl.label == tocLabel: |             if tl.label == tocLabel and tl.textBlock == textBlock: | ||||||
|                 return  |                 return  | ||||||
|          |          | ||||||
|         self.tocEntries.append(TocLabel(tocLabel, textBlock)) |         self.tocEntries.append(TocLabel(tocLabel, textBlock)) | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user