This commit is contained in:
Kovid Goyal 2014-06-14 10:50:52 +05:30
parent 3bc9e7c534
commit bf7af85907

View file

@ -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: