mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 00:13:50 +02:00
Fix stupid typo
This commit is contained in:
parent
9777a204f5
commit
4f6ec55b2e
1 changed files with 1 additions and 1 deletions
|
|
@ -843,7 +843,7 @@ def _get_category_nodes(self, sort):
|
|||
self.categories = {}
|
||||
|
||||
# Get the categories
|
||||
if self.db.data.get_base_restriction or self.db.data.get_search_restriction:
|
||||
if self.db.data.get_base_restriction() or self.db.data.get_search_restriction():
|
||||
try:
|
||||
data = self.db.get_categories(sort=sort,
|
||||
icon_map=self.category_icon_map,
|
||||
|
|
|
|||
Loading…
Reference in a new issue