mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-22 12:44:05 +02:00
...
This commit is contained in:
parent
3bc9e7c534
commit
bf7af85907
1 changed files with 2 additions and 0 deletions
|
|
@ -848,6 +848,8 @@ def _get_category_nodes(self, sort):
|
|||
icon_map=self.category_icon_map,
|
||||
ids=self.db.search('', return_matches=True, sort_results=False))
|
||||
except:
|
||||
import traceback
|
||||
traceback.print_exc()
|
||||
data = self.db.get_categories(sort=sort, icon_map=self.category_icon_map)
|
||||
self.restriction_error.emit()
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in a new issue