mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-05-20 22:12:37 -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:
@@ -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']:
|
||||
|
||||
Reference in New Issue
Block a user