mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 02:34:06 -04: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:
|
||||
prefix = ''
|
||||
category = tag.category if key != 'news' else 'tag'
|
||||
add_colon = False
|
||||
if self.db.field_metadata[tag.category]['is_csp']:
|
||||
add_colon = True
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user