mirror of
				https://github.com/kovidgoyal/calibre.git
				synced 2025-11-03 19:17:02 -05:00 
			
		
		
		
	Fix #9270 (error after update to 0.7.48)
This commit is contained in:
		
							parent
							
								
									cb2974fd13
								
							
						
					
					
						commit
						ecb808768f
					
				@ -1586,6 +1586,7 @@ class TagsModel(QAbstractItemModel): # {{{
 | 
				
			|||||||
                    else:
 | 
					                    else:
 | 
				
			||||||
                        prefix = ''
 | 
					                        prefix = ''
 | 
				
			||||||
                    category = tag.category if key != 'news' else 'tag'
 | 
					                    category = tag.category if key != 'news' else 'tag'
 | 
				
			||||||
 | 
					                    add_colon = False
 | 
				
			||||||
                    if self.db.field_metadata[tag.category]['is_csp']:
 | 
					                    if self.db.field_metadata[tag.category]['is_csp']:
 | 
				
			||||||
                        add_colon = True
 | 
					                        add_colon = True
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user