mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-30 23:00:21 -04:00
Content server: Fix custom icons for top level categories incorrect. Fixes #1095016 (User category icon mixup on webserver)
This commit is contained in:
parent
df1efd3fe8
commit
705bea4e19
@ -373,7 +373,7 @@ class BrowseServer(object):
|
||||
continue
|
||||
# get the icon files
|
||||
if category in self.icon_map:
|
||||
icon = '_'+quote(self.icon_map[category])
|
||||
icon = '_'+quote(self.icon_map[category.partition('.')[0]])
|
||||
elif category in category_icon_map:
|
||||
icon = category_icon_map[category]
|
||||
elif meta['is_custom']:
|
||||
|
Loading…
x
Reference in New Issue
Block a user